X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=user.h;h=216b71aa4bddedeb935b0953b3ec15ab87518763;hp=acd0b8d85243220e42a09ec972233a238c4d393b;hb=6a302c5863fea16e14ec6a4104e92023d8e2e977;hpb=d2ce6e60cb915dff3a0920a0b48f786435bd4ec8;ds=sidebyside diff --git a/user.h b/user.h index acd0b8d..216b71a 100644 --- a/user.h +++ b/user.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Andre Noll + * Copyright (C) 2008 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -28,12 +28,6 @@ struct user_info { 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; }; @@ -46,8 +40,6 @@ int read_uid_file(void); int write_uid_file(void); void create_hash_table(unsigned bits); -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); int parse_uid_arg(const char *orig_arg, struct uid_range **ur);