diff options
Diffstat (limited to 'ot_accesslist.h')
| -rw-r--r-- | ot_accesslist.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ot_accesslist.h b/ot_accesslist.h index d05e1f7..b3e979d 100644 --- a/ot_accesslist.h +++ b/ot_accesslist.h | |||
| @@ -19,6 +19,10 @@ void accesslist_deinit(void); | |||
| 19 | int accesslist_hashisvalid(ot_hash hash); | 19 | int accesslist_hashisvalid(ot_hash hash); |
| 20 | void accesslist_cleanup(void); | 20 | void accesslist_cleanup(void); |
| 21 | 21 | ||
| 22 | /* Scan buf for up to capacity info_hashes in hexadecimal notation, one per | ||
| 23 | line, and return how many were written to dest */ | ||
| 24 | size_t accesslist_parse_hashes(ot_hash *dest, size_t capacity, const char *buf, size_t len); | ||
| 25 | |||
| 22 | extern char *g_accesslist_filename; | 26 | extern char *g_accesslist_filename; |
| 23 | #ifdef WANT_DYNAMIC_ACCESSLIST | 27 | #ifdef WANT_DYNAMIC_ACCESSLIST |
| 24 | extern char *g_accesslist_pipe_add; | 28 | extern char *g_accesslist_pipe_add; |
