X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=user.h;h=c561a3fe8335a90d1cc8261ba4fafa63543273a3;hp=7a06876369bcf6345919d44a424a2dddff50aaa1;hb=4e757d60f7642c61e09a20a2a1de442b23208966;hpb=63ef06be534ab9a8f31865ef6c2324f0a951aef9 diff --git a/user.h b/user.h index 7a06876..c561a3f 100644 --- a/user.h +++ b/user.h @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2008 Andre Noll + * + * Licensed under the GPL v2. For licencing details see COPYING. + */ + /** The columns of the id table. */ enum user_table_columns { /** The numer of the directory. */ @@ -38,7 +44,7 @@ int read_uid_file(void); int write_uid_file(void); void create_hash_table(unsigned bits); -void sort_hash_table(int (*comp)(const void *, const void *)); +void sort_hash_table(int (*comp)(struct user_info *, struct user_info *)); int for_each_admissible_user(int (*func)(struct user_info *, void *), void *data);