]> git.tuebingen.mpg.de Git - adu.git/blobdiff - user.h
print_complete_help_and_die() does not return.
[adu.git] / user.h
diff --git a/user.h b/user.h
index 7a06876369bcf6345919d44a424a2dddff50aaa1..acd0b8d85243220e42a09ec972233a238c4d393b 100644 (file)
--- a/user.h
+++ b/user.h
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2008 Andre Noll <maan@systemlinux.org>
+ *
+ * Licensed under the GPL v2. For licencing details see COPYING.
+ */
+
+/** \file user.h \brief User structures and exported symbols from user.c. */
+
 /** The columns of the id table. */
 enum user_table_columns {
        /** The numer of the directory. */
@@ -38,7 +46,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);