mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
nodelist: Move router_get_verbose_nickname() declaration
The declaration was in nodelist/routerinfo.h, but the implementation was in nodelist/describe.h. Part of 21003.
This commit is contained in:
@@ -26,9 +26,9 @@
|
||||
#include "feature/control/control_fmt.h"
|
||||
#include "feature/control/control_proto.h"
|
||||
#include "feature/dircommon/directory.h"
|
||||
#include "feature/nodelist/describe.h"
|
||||
#include "feature/nodelist/networkstatus.h"
|
||||
#include "feature/nodelist/nodelist.h"
|
||||
#include "feature/nodelist/routerinfo.h"
|
||||
|
||||
#include "feature/control/control_connection_st.h"
|
||||
#include "core/or/entry_connection_st.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
#include "app/config/config.h"
|
||||
#include "feature/dirauth/authmode.h"
|
||||
#include "feature/dirauth/voteflags.h"// XXXX remove
|
||||
#include "feature/nodelist/describe.h"
|
||||
#include "feature/nodelist/nodelist.h"
|
||||
#include "feature/nodelist/routerinfo.h"
|
||||
|
||||
#include "feature/nodelist/node_st.h"
|
||||
#include "feature/nodelist/routerinfo_st.h"
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
#include "core/or/or.h"
|
||||
#include "feature/nodelist/describe.h"
|
||||
#include "feature/nodelist/routerinfo.h"
|
||||
|
||||
#include "core/or/extend_info_st.h"
|
||||
#include "feature/nodelist/node_st.h"
|
||||
|
||||
@@ -22,4 +22,6 @@ const char *node_describe(const struct node_t *node);
|
||||
const char *router_describe(const struct routerinfo_t *ri);
|
||||
const char *routerstatus_describe(const struct routerstatus_t *ri);
|
||||
|
||||
void router_get_verbose_nickname(char *buf, const routerinfo_t *router);
|
||||
|
||||
#endif /* !defined(TOR_DESCRIBE_H) */
|
||||
|
||||
@@ -17,8 +17,6 @@ void router_get_prim_orport(const routerinfo_t *router,
|
||||
int router_has_orport(const routerinfo_t *router,
|
||||
const tor_addr_port_t *orport);
|
||||
|
||||
void router_get_verbose_nickname(char *buf, const routerinfo_t *router);
|
||||
|
||||
smartlist_t *router_get_all_orports(const routerinfo_t *ri);
|
||||
|
||||
const char *router_purpose_to_string(uint8_t p);
|
||||
|
||||
Reference in New Issue
Block a user