diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2022-11-24 04:20:06 +0100 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2022-11-24 04:20:06 +0100 |
commit | be825f57597b0e9dcf07d257e93f03e30935f7db (patch) | |
tree | 58059fe89c3e2faf8be5999b7cac010e03f1ae31 /ot_accesslist.h | |
parent | 110868ec4ebe60521d5a4ced63feca6a1cf0aa2a (diff) |
Add support for dynamic accesslists
Diffstat (limited to 'ot_accesslist.h')
-rw-r--r-- | ot_accesslist.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ot_accesslist.h b/ot_accesslist.h index b38b91a..e86969b 100644 --- a/ot_accesslist.h +++ b/ot_accesslist.h | |||
@@ -12,11 +12,15 @@ | |||
12 | 12 | ||
13 | #if defined ( WANT_ACCESSLIST_BLACK ) || defined (WANT_ACCESSLIST_WHITE ) | 13 | #if defined ( WANT_ACCESSLIST_BLACK ) || defined (WANT_ACCESSLIST_WHITE ) |
14 | #define WANT_ACCESSLIST | 14 | #define WANT_ACCESSLIST |
15 | void accesslist_init( ); | 15 | void accesslist_init( void ); |
16 | void accesslist_deinit( ); | 16 | void accesslist_deinit( void ); |
17 | int accesslist_hashisvalid( ot_hash hash ); | 17 | int accesslist_hashisvalid( ot_hash hash ); |
18 | 18 | ||
19 | extern char *g_accesslist_filename; | 19 | extern char *g_accesslist_filename; |
20 | #ifdef WANT_DYNAMIC_ACCESSLIST | ||
21 | extern char *g_accesslist_pipe_add; | ||
22 | extern char *g_accesslist_pipe_delete; | ||
23 | #endif | ||
20 | 24 | ||
21 | #else | 25 | #else |
22 | #define accesslist_init( accesslist_filename ) | 26 | #define accesslist_init( accesslist_filename ) |