Mercurial > hg > freeDiameter
comparison extensions/acl_wl/aw_tree.c @ 1354:0dff6a604b0a
acl_wl: add reload support using SIGUSR1
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Fri, 17 May 2019 12:59:19 +0200 |
parents | 1af09cc156d6 |
children | 3cbe458fbfa9 |
comparison
equal
deleted
inserted
replaced
1350:0f226d35501e | 1354:0dff6a604b0a |
---|---|
67 int flags; /* PI_SEC_* flags */ | 67 int flags; /* PI_SEC_* flags */ |
68 int leaf; /* true if this item can be a leaf of the tree */ | 68 int leaf; /* true if this item can be a leaf of the tree */ |
69 }; | 69 }; |
70 | 70 |
71 /* The root of the tree */ | 71 /* The root of the tree */ |
72 static struct fd_list tree_root = FD_LIST_INITIALIZER(tree_root); | 72 struct fd_list tree_root = FD_LIST_INITIALIZER(tree_root); |
73 | 73 |
74 /* Note: we don't need to lock, since we add only when parsing the conf, and then read only */ | 74 /* Note: we lock accesses to the tree with acl_wl_lock because of config reload */ |
75 | 75 |
76 | 76 |
77 /* The parsed name */ | 77 /* The parsed name */ |
78 struct split_name { | 78 struct split_name { |
79 struct { | 79 struct { |