|
Tor 0.4.9.8
|
Header for feature/relay/transport_config.c. More...
Go to the source code of this file.
Macros | |
| #define | pt_get_bindaddr_from_config(transport) |
| #define | pt_get_options_for_server_transport(transport) |
| #define | options_validate_server_transport(old_options, options, msg) |
| #define | options_act_server_transport(old_options) |
Functions | |
| static int | options_validate_server_transport (const struct or_options_t *old_options, struct or_options_t *options, char **msg) |
Header for feature/relay/transport_config.c.
Definition in file transport_config.h.
| #define options_act_server_transport | ( | old_options | ) |
Definition at line 80 of file transport_config.h.
| #define options_validate_server_transport | ( | old_options, | |
| options, | |||
| msg ) |
Definition at line 78 of file transport_config.h.
| #define pt_get_bindaddr_from_config | ( | transport | ) |
Definition at line 71 of file transport_config.h.
| #define pt_get_options_for_server_transport | ( | transport | ) |
Definition at line 75 of file transport_config.h.
|
inlinestatic |
When tor is compiled with the relay module disabled, it can't be configured with server pluggable transports.
Returns -1 and sets msg to a newly allocated string, if ExtORPort, ServerTransportPlugin, ServerTransportListenAddr, or ServerTransportOptions are set in options. Otherwise returns 0.
Definition at line 48 of file transport_config.h.