diff options
author | erdgeist <> | 2008-10-05 12:28:57 +0000 |
---|---|---|
committer | erdgeist <> | 2008-10-05 12:28:57 +0000 |
commit | 01c9c3695ccc098384422545ac1c11568a416871 (patch) | |
tree | 67a63c230ac57ebc44a620850ae52d6b06a3be47 /ot_accesslist.h | |
parent | eac898afd82b6400cefd0466073c31a734ee1fdb (diff) |
Enabled debug output, fixed blessed ip permissions
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 |