Commit 13116378 authored by Nick Mathewson's avatar Nick Mathewson 🥔
Browse files

Extract or_options_t from or.h

I decided to have this file included from config.h, though, since it
is used nearly everywhere.
parent 986d7615
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@
#include "or/circuitmux_ewma.h"
#include "lib/crypt_ops/crypto_rand.h"
#include "or/networkstatus.h"
#include "or/or_options_st.h"

/*** EWMA parameter #defines ***/

@@ -826,4 +827,3 @@ circuitmux_ewma_free_all(void)
{
  ewma_ticks_initialized = 0;
}
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
#ifndef TOR_CONFIG_H
#define TOR_CONFIG_H

#include "or/or_options_st.h"
#include "lib/testsupport/testsupport.h"

#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(DARWIN)
+1 −0
Original line number Diff line number Diff line
@@ -184,6 +184,7 @@ int control_event_signal(uintptr_t signal);

int init_control_cookie_authentication(int enabled);
char *get_controller_cookie_file_name(void);
struct config_line_t;
smartlist_t *decode_hashed_passwords(struct config_line_t *passwords);
void disable_control_logging(void);
void enable_control_logging(void);
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@
#include "or/hs_service.h"
#include "or/rendservice.h"
#include "lib/encoding/confline.h"
#include "or/or_options_st.h"

/* Using the given list of services, stage them into our global state. Every
 * service version are handled. This function can remove entries in the given
+1 −1061

File changed.

Preview size limit exceeded, changes collapsed.

Loading