summaryrefslogtreecommitdiff
path: root/ot_accesslist.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2022-11-24 04:20:06 +0100
committerDirk Engling <erdgeist@erdgeist.org>2022-11-24 04:20:06 +0100
commitbe825f57597b0e9dcf07d257e93f03e30935f7db (patch)
tree58059fe89c3e2faf8be5999b7cac010e03f1ae31 /ot_accesslist.h
parent110868ec4ebe60521d5a4ced63feca6a1cf0aa2a (diff)
Add support for dynamic accesslists
Diffstat (limited to 'ot_accesslist.h')
-rw-r--r--ot_accesslist.h8
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
15void accesslist_init( ); 15void accesslist_init( void );
16void accesslist_deinit( ); 16void accesslist_deinit( void );
17int accesslist_hashisvalid( ot_hash hash ); 17int accesslist_hashisvalid( ot_hash hash );
18 18
19extern char *g_accesslist_filename; 19extern char *g_accesslist_filename;
20#ifdef WANT_DYNAMIC_ACCESSLIST
21extern char *g_accesslist_pipe_add;
22extern 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 )