summaryrefslogtreecommitdiff
path: root/src/ot_accesslist.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-05 16:03:35 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-05 16:03:35 +0100
commit2a7bc3f8a7cd232cad0a858b4d810a2cac3193d8 (patch)
tree068ba4de5c5672bafea62f85a56fde788bbd23c6 /src/ot_accesslist.h
parent4e0b179014ced8c16c90bdfd6d82df625fea47e9 (diff)
Read the accesslist before any consumer consults it
Diffstat (limited to 'src/ot_accesslist.h')
-rw-r--r--src/ot_accesslist.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ot_accesslist.h b/src/ot_accesslist.h
index 68c88dc..c0f3fc2 100644
--- a/src/ot_accesslist.h
+++ b/src/ot_accesslist.h
@@ -12,8 +12,9 @@
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/* Starts a thread that rereads the list when sent SIGHUP, and is stopped by 15/* Reads the list, then starts a thread that rereads it when sent SIGHUP and
16 being sent one, so the caller blocks SIGHUP process wide beforehand */ 16 is stopped by being sent one, so the caller blocks SIGHUP process wide
17 beforehand */
17void accesslist_init(void); 18void accesslist_init(void);
18void accesslist_deinit(void); 19void accesslist_deinit(void);
19int accesslist_hashisvalid(const ot_hash hash); 20int accesslist_hashisvalid(const ot_hash hash);