diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-10-01 11:08:09 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-10-01 11:17:19 -0500 |
commit | 35db3f8162f132cec7afc148eda8f7482dbeeb76 (patch) | |
tree | 7c00b06286d5c75f5ab5d854a201031c7e7a0f9a /src/feature/dirparse/parsecommon.h | |
parent | 95e2eb9083d2cd9c79c3f4151850c86cbeaf4cc4 (diff) | |
download | tor-35db3f8162f132cec7afc148eda8f7482dbeeb76.tar.gz tor-35db3f8162f132cec7afc148eda8f7482dbeeb76.zip |
Extract addr-policy parsing code.
Diffstat (limited to 'src/feature/dirparse/parsecommon.h')
-rw-r--r-- | src/feature/dirparse/parsecommon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/dirparse/parsecommon.h b/src/feature/dirparse/parsecommon.h index d0f3810c0b..f14862f04a 100644 --- a/src/feature/dirparse/parsecommon.h +++ b/src/feature/dirparse/parsecommon.h @@ -302,12 +302,12 @@ void token_clear(directory_token_t *tok); int tokenize_string(struct memarea_t *area, const char *start, const char *end, struct smartlist_t *out, - token_rule_t *table, + const token_rule_t *table, int flags); directory_token_t *get_next_token(struct memarea_t *area, const char **s, const char *eos, - token_rule_t *table); + const token_rule_t *table); directory_token_t *find_by_keyword_(struct smartlist_t *s, directory_keyword keyword, |