From be825f57597b0e9dcf07d257e93f03e30935f7db Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Thu, 24 Nov 2022 04:20:06 +0100 Subject: Add support for dynamic accesslists --- ot_accesslist.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'ot_accesslist.h') 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 @@ #if defined ( WANT_ACCESSLIST_BLACK ) || defined (WANT_ACCESSLIST_WHITE ) #define WANT_ACCESSLIST -void accesslist_init( ); -void accesslist_deinit( ); +void accesslist_init( void ); +void accesslist_deinit( void ); int accesslist_hashisvalid( ot_hash hash ); extern char *g_accesslist_filename; +#ifdef WANT_DYNAMIC_ACCESSLIST +extern char *g_accesslist_pipe_add; +extern char *g_accesslist_pipe_delete; +#endif #else #define accesslist_init( accesslist_filename ) -- cgit v1.2.3