diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-30 23:51:47 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-10-01 10:46:00 -0500 |
commit | 2be35f4d61fb8d05007ce65d0421a2ef71c07eb4 (patch) | |
tree | 9ed208c8234917e4940c3989bcb88e291945bc0c /src/feature/dirparse/microdesc_parse.h | |
parent | aff5bf5464172bbbe549e147ebd4ba809a8b252c (diff) | |
download | tor-2be35f4d61fb8d05007ce65d0421a2ef71c07eb4.tar.gz tor-2be35f4d61fb8d05007ce65d0421a2ef71c07eb4.zip |
Split microdescriptor parser into its own file.
Diffstat (limited to 'src/feature/dirparse/microdesc_parse.h')
-rw-r--r-- | src/feature/dirparse/microdesc_parse.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/feature/dirparse/microdesc_parse.h b/src/feature/dirparse/microdesc_parse.h new file mode 100644 index 0000000000..e8f8b2e17e --- /dev/null +++ b/src/feature/dirparse/microdesc_parse.h @@ -0,0 +1,20 @@ +/* Copyright (c) 2001 Matej Pfajfar. + * Copyright (c) 2001-2004, Roger Dingledine. + * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. + * Copyright (c) 2007-2018, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +/** + * \file microdesc_parse.h + * \brief Header file for microdesc_parse.c. + **/ + +#ifndef TOR_MICRODESC_PARSE_H +#define TOR_MICRODESC_PARSE_H + +smartlist_t *microdescs_parse_from_string(const char *s, const char *eos, + int allow_annotations, + saved_location_t where, + smartlist_t *invalid_digests_out); + +#endif |