summaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-29 01:35:08 -0400
committerNick Mathewson <nickm@torproject.org>2010-10-01 18:14:27 -0400
commit6dd7f85bc7fa9887736feb7604e76d7226d03ca5 (patch)
tree8c67dcbb38ca53b2d60f38c3f71dec0ab944d6e6 /src/or/directory.h
parentd84d20cbb2c8ca8d248378ce21f0d3969f9b5ef8 (diff)
downloadtor-6dd7f85bc7fa9887736feb7604e76d7226d03ca5.tar.gz
tor-6dd7f85bc7fa9887736feb7604e76d7226d03ca5.zip
Try to make most routerstatus_t interfaces const
Diffstat (limited to 'src/or/directory.h')
-rw-r--r--src/or/directory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index 6fd2c0beff..5782df9267 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -23,7 +23,7 @@ void directory_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose,
void directory_get_from_all_authorities(uint8_t dir_purpose,
uint8_t router_purpose,
const char *resource);
-void directory_initiate_command_routerstatus(routerstatus_t *status,
+void directory_initiate_command_routerstatus(const routerstatus_t *status,
uint8_t dir_purpose,
uint8_t router_purpose,
int anonymized_connection,
@@ -31,7 +31,7 @@ void directory_initiate_command_routerstatus(routerstatus_t *status,
const char *payload,
size_t payload_len,
time_t if_modified_since);
-void directory_initiate_command_routerstatus_rend(routerstatus_t *status,
+void directory_initiate_command_routerstatus_rend(const routerstatus_t *status,
uint8_t dir_purpose,
uint8_t router_purpose,
int anonymized_connection,