-/** The columns of the id table. */
-enum user_table_columns {
- /** The numer of the directory. */
- UT_DIR_NUM,
- /** The number of bytes of all regular files in this dir owned by this id. */
- UT_BYTES,
- /** The number of files in this dir owned by this id. */
- UT_FILES,
- /** Number of columns in this table. */
- NUM_UT_COLUMNS
-};
-
-enum uid_info_flags {
- /** Whether this slot of the hash table is used. */
- UI_FL_SLOT_USED = 1,
- /** Whether this uid should be taken into account. */
- UI_FL_ADMISSIBLE = 2,
-};
-
-struct user_info {
- uint32_t uid;
- uint32_t flags;
- char *pw_name;
- struct osl_table *table;
- uint64_t files;
- uint64_t bytes;
- uint64_t dirs;
- struct osl_table_description *desc;
-};
-
-struct uid_range {
- uint32_t low;
- uint32_t high;
-};
-
-enum search_uid_flags {
- OPEN_USER_TABLE = 1,
- CREATE_USER_TABLE = 2,
-};
-
-extern uint32_t num_uids;
-extern uint32_t uid_hash_table_size;