summaryrefslogtreecommitdiff
path: root/ot_accesslist.h
diff options
context:
space:
mode:
authorerdgeist <>2008-11-28 22:21:10 +0000
committererdgeist <>2008-11-28 22:21:10 +0000
commit334c6e4bbb97a4c0656e1b07c3e6a565f68eae2b (patch)
treef84ad28c39b32d0906e32e8ba5e461ecdaed7799 /ot_accesslist.h
parentff6c0339c13a6b42149ba91da14dbb824307cea7 (diff)
The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
Diffstat (limited to 'ot_accesslist.h')
-rw-r--r--ot_accesslist.h7
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
25typedef enum { 25typedef 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
32int accesslist_blessip( char * ip, ot_permissions permissions ); 31int accesslist_blessip( char * ip, ot_permissions permissions );