summaryrefslogtreecommitdiff
path: root/src/feature/dircache/dirserv.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-18 15:12:18 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-18 15:12:18 -0400
commit23811052fe287bafd27f590a02658ff4c588a8a9 (patch)
treec4e319fdd38d20265320db3c25b1c64620fd4d9b /src/feature/dircache/dirserv.h
parent61e080e24a741a6b6978da272b0372a8391028db (diff)
downloadtor-23811052fe287bafd27f590a02658ff4c588a8a9.tar.gz
tor-23811052fe287bafd27f590a02658ff4c588a8a9.zip
Add some missing includes and struct declarations.
Diffstat (limited to 'src/feature/dircache/dirserv.h')
-rw-r--r--src/feature/dircache/dirserv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/feature/dircache/dirserv.h b/src/feature/dircache/dirserv.h
index d399c41090..b1b8cee5fc 100644
--- a/src/feature/dircache/dirserv.h
+++ b/src/feature/dircache/dirserv.h
@@ -180,7 +180,9 @@ char *routerstatus_format_entry(
void dirserv_free_all(void);
void cached_dir_decref(cached_dir_t *d);
cached_dir_t *new_cached_dir(char *s, time_t published);
-char *format_recommended_version_list(const config_line_t *line, int warn);
+struct config_line_t;
+char *format_recommended_version_list(const struct config_line_t *line,
+ int warn);
int validate_recommended_package_line(const char *line);
int dirserv_query_measured_bw_cache_kb(const char *node_id,
long *bw_out,