From 35db3f8162f132cec7afc148eda8f7482dbeeb76 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 1 Oct 2018 11:08:09 -0500 Subject: Extract addr-policy parsing code. --- src/feature/dirparse/parsecommon.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/feature/dirparse/parsecommon.h') 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, -- cgit v1.2.3-54-g00ecf