projects
/
adu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move ui_used() and ui_admissible() from adu.h to adu.c.
[adu.git]
/
adu.c
diff --git
a/adu.c
b/adu.c
index 4c1c62c0d56bb3955dabd1cfb52499d6d6fca4a3..6eb958456ea292d33cf0bb4eba7b6c050a426866 100644
(file)
--- a/
adu.c
+++ b/
adu.c
@@
-40,6
+40,16
@@
static uint32_t uid_hash_table_size;
*/
static struct user_info *uid_hash_table;
*/
static struct user_info *uid_hash_table;
+static inline int ui_used(struct user_info *ui)
+{
+ return ui->flags & UI_FL_SLOT_USED;
+}
+
+static inline int ui_admissible(struct user_info *ui)
+{
+ return ui->flags & UI_FL_ADMISSIBLE;
+}
+
/**
* The table containing the directory names and statistics.
*/
/**
* The table containing the directory names and statistics.
*/