diff options
Diffstat (limited to 'ot_accesslist.h')
-rw-r--r-- | ot_accesslist.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ot_accesslist.h b/ot_accesslist.h index 2783b3c..5d163c2 100644 --- a/ot_accesslist.h +++ b/ot_accesslist.h | |||
@@ -23,13 +23,13 @@ extern char *g_accesslist_filename; | |||
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | typedef enum { | 25 | typedef enum { |
26 | OT_PERMISSION_MAY_FULLSCRAPE, | 26 | OT_PERMISSION_MAY_FULLSCRAPE = 0x1, |
27 | OT_PERMISSION_MAY_SYNC, | 27 | OT_PERMISSION_MAY_SYNC = 0x2, |
28 | OT_PERMISSION_MAY_STAT, | 28 | OT_PERMISSION_MAY_STAT = 0x4, |
29 | OT_PERMISSION_MAY_LIVESYNC | 29 | OT_PERMISSION_MAY_LIVESYNC = 0x8 |
30 | } ot_permissions; | 30 | } ot_permissions; |
31 | 31 | ||
32 | int accesslist_blessip( char * ip, ot_permissions permissions ); | 32 | int accesslist_blessip( char * ip, ot_permissions permissions ); |
33 | int accesslist_isblessed( char * ip, ot_permissions permissions ); | 33 | int accesslist_isblessed( char * ip, ot_permissions permissions ); |
34 | 34 | ||
35 | #endif | 35 | #endif |