diff options
Diffstat (limited to 'ot_accesslist.h')
-rw-r--r-- | ot_accesslist.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ot_accesslist.h b/ot_accesslist.h index 8d87710..9c93187 100644 --- a/ot_accesslist.h +++ b/ot_accesslist.h | |||
@@ -7,7 +7,7 @@ | |||
7 | #define __OT_ACCESSLIST_H__ | 7 | #define __OT_ACCESSLIST_H__ |
8 | 8 | ||
9 | #if defined ( WANT_ACCESSLIST_BLACK ) && defined (WANT_ACCESSLIST_WHITE ) | 9 | #if defined ( WANT_ACCESSLIST_BLACK ) && defined (WANT_ACCESSLIST_WHITE ) |
10 | #error WANT_ACCESSLIST_BLACK and WANT_ACCESSLIST_WHITE are exclusive. | 10 | # error WANT_ACCESSLIST_BLACK and WANT_ACCESSLIST_WHITE are exclusive. |
11 | #endif | 11 | #endif |
12 | 12 | ||
13 | #if defined ( WANT_ACCESSLIST_BLACK ) || defined (WANT_ACCESSLIST_WHITE ) | 13 | #if defined ( WANT_ACCESSLIST_BLACK ) || defined (WANT_ACCESSLIST_WHITE ) |
@@ -24,9 +24,8 @@ extern char *g_accesslist_filename; | |||
24 | 24 | ||
25 | typedef enum { | 25 | typedef enum { |
26 | OT_PERMISSION_MAY_FULLSCRAPE = 0x1, | 26 | OT_PERMISSION_MAY_FULLSCRAPE = 0x1, |
27 | OT_PERMISSION_MAY_SYNC = 0x2, | 27 | OT_PERMISSION_MAY_STAT = 0x2, |
28 | OT_PERMISSION_MAY_STAT = 0x4, | 28 | OT_PERMISSION_MAY_LIVESYNC = 0x4 |
29 | OT_PERMISSION_MAY_LIVESYNC = 0x8 | ||
30 | } ot_permissions; | 29 | } ot_permissions; |
31 | 30 | ||
32 | int accesslist_blessip( char * ip, ot_permissions permissions ); | 31 | int accesslist_blessip( char * ip, ot_permissions permissions ); |