aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-10-18 17:09:57 +0000
committerPeter Palfrader <peter@palfrader.org>2005-10-18 17:09:57 +0000
commitd8daa910a66ccfbd25afa57e22e1a77090a8bb5c (patch)
tree920cf1645447ec0fadf50aa0d24670838ab9f657 /src/or/or.h
parent551e3402a3a82eaf92c495564e0a5f4b7ab80fe4 (diff)
downloadtor-d8daa910a66ccfbd25afa57e22e1a77090a8bb5c.tar
tor-d8daa910a66ccfbd25afa57e22e1a77090a8bb5c.tar.gz
Make dirserv_get_routerdescs() return better http 404 error messages instead of a generic "Servers unavailable."
svn:r5274
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 9e2707e68..45519fc5e 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1781,7 +1781,8 @@ void dirserv_set_cached_directory(const char *directory, time_t when,
void dirserv_set_cached_networkstatus_v2(const char *directory, const char *fp,
time_t published);
int dirserv_get_networkstatus_v2(smartlist_t *result, const char *key);
-void dirserv_get_routerdescs(smartlist_t *descs_out, const char *key);
+int dirserv_get_routerdescs(smartlist_t *descs_out, const char *key,
+ const char **msg);
void dirserv_orconn_tls_done(const char *address,
uint16_t or_port,
const char *digest_rcvd,