diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-11-08 14:27:36 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-05-05 20:54:11 -0400 |
commit | 6e58575767929b696035bc8385705ea3aa8b6838 (patch) | |
tree | b2e917b147b275800a4e38efa16fe82f456c1e2c /src/or/directory.h | |
parent | ba1143e4680c9f41c1c2040a1181c522c9bb8e8d (diff) | |
download | tor-6e58575767929b696035bc8385705ea3aa8b6838.tar.gz tor-6e58575767929b696035bc8385705ea3aa8b6838.zip |
Automated rename from authority_type_t to dirinfo_type_t
We were already overloading this type to mean "a directory that can
serve us X" in addition to "a directory that is an authority for X."
Diffstat (limited to 'src/or/directory.h')
-rw-r--r-- | src/or/directory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.h b/src/or/directory.h index e078575503..9f4c31d9f7 100644 --- a/src/or/directory.h +++ b/src/or/directory.h @@ -13,9 +13,9 @@ #define _TOR_DIRECTORY_H int directories_have_accepted_server_descriptor(void); -char *authority_type_to_string(authority_type_t auth); +char *dirinfo_type_to_string(dirinfo_type_t auth); void directory_post_to_dirservers(uint8_t dir_purpose, uint8_t router_purpose, - authority_type_t type, const char *payload, + dirinfo_type_t type, const char *payload, size_t payload_len, size_t extrainfo_len); void directory_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose, const char *resource, |