mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
Add some missing includes and struct declarations.
This commit is contained in:
parent
61e080e24a
commit
23811052fe
3 changed files with 5 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
|||
#include "feature/nodelist/parsecommon.h"
|
||||
#include "core/or/policies.h"
|
||||
#include "core/or/protover.h"
|
||||
#include "core/or/tor_version_st.h"
|
||||
#include "feature/stats/rephist.h"
|
||||
#include "feature/relay/router.h"
|
||||
#include "feature/relay/routerkeys.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,
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "app/config/confparse.h"
|
||||
#include "app/config/config.h"
|
||||
#include "feature/control/control.h"
|
||||
#include "lib/encoding/confline.h"
|
||||
#include "lib/crypt_ops/crypto_ed25519.h"
|
||||
#include "lib/crypt_ops/crypto_format.h"
|
||||
#include "lib/crypt_ops/crypto_rand.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue