+/*
+ * Copyright (C) 2008 Andre Noll <maan@tuebingen.mpg.de>
+ *
+ * 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. */
char *pw_name;
/** The user table of this user.*/
struct osl_table *table;
- /** Total number of files owned by this user. */
- uint64_t files;
- /** Total number of bytes owned by this user. */
- uint64_t bytes;
- /** Total number of directories that contain at least one file */
- uint64_t dirs;
/** The description of the user table. */
struct osl_table_description *desc;
};
int write_uid_file(void);
void create_hash_table(unsigned bits);
-void sort_hash_table(int (*comp)(const void *, const void *));
-
int for_each_admissible_user(int (*func)(struct user_info *, void *),
void *data);
int parse_uid_arg(const char *orig_arg, struct uid_range **ur);