diff options
author | Ola Bini <ola@olabini.se> | 2015-10-05 15:10:58 -0500 |
---|---|---|
committer | Ola Bini <ola@olabini.se> | 2015-10-05 15:10:58 -0500 |
commit | 5cb724201293bf7edf1397c442c39f6585215a4f (patch) | |
tree | 8ac8b19e573504f682fb04b84003c28e20d914a7 /src/or/config.h | |
parent | 017047e7b2215131907e7afb4107b9013651345d (diff) | |
download | tor-5cb724201293bf7edf1397c442c39f6585215a4f.tar.gz tor-5cb724201293bf7edf1397c442c39f6585215a4f.zip |
Move CL_PORT definitions so they are accessible to the tests as well
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h index 756b08c2b5..f29c7dab55 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -136,6 +136,16 @@ smartlist_t *get_options_from_transport_options_line(const char *line, smartlist_t *get_options_for_server_transport(const char *transport); #ifdef CONFIG_PRIVATE + +#define CL_PORT_NO_STREAM_OPTIONS (1u<<0) +#define CL_PORT_WARN_NONLOCAL (1u<<1) +#define CL_PORT_ALLOW_EXTRA_LISTENADDR (1u<<2) +#define CL_PORT_SERVER_OPTIONS (1u<<3) +#define CL_PORT_FORBID_NONLOCAL (1u<<4) +#define CL_PORT_TAKES_HOSTNAMES (1u<<5) +#define CL_PORT_IS_UNIXSOCKET (1u<<6) +#define CL_PORT_DFLT_GROUP_WRITABLE (1u<<7) + STATIC int options_act(const or_options_t *old_options); #ifdef TOR_UNIT_TESTS extern struct config_format_t options_format; |