diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-30 15:21:37 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-30 15:55:42 -0400 |
commit | 0e9d969bb2bb4bb9a5f7db1db824c729d7142cbc (patch) | |
tree | 0d4b17893ba8b6d653bcc71f56ceb417cbaa4096 /src/tools/tor-fw-helper/tor-fw-helper.h | |
parent | 2835dcf69f5bafd634a1b65fa28c08d4f1ce3306 (diff) | |
download | tor-0e9d969bb2bb4bb9a5f7db1db824c729d7142cbc.tar.gz tor-0e9d969bb2bb4bb9a5f7db1db824c729d7142cbc.zip |
Fix space and formatting issues
Diffstat (limited to 'src/tools/tor-fw-helper/tor-fw-helper.h')
-rw-r--r-- | src/tools/tor-fw-helper/tor-fw-helper.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/tools/tor-fw-helper/tor-fw-helper.h b/src/tools/tor-fw-helper/tor-fw-helper.h index 1af9c0c7aa..b83d4b7d8f 100644 --- a/src/tools/tor-fw-helper/tor-fw-helper.h +++ b/src/tools/tor-fw-helper/tor-fw-helper.h @@ -26,31 +26,31 @@ /** This is where we store parsed commandline options. */ typedef struct { - int verbose; - int help; - int test_commandline; - uint16_t private_dir_port; - uint16_t private_or_port; - uint16_t public_dir_port; - uint16_t public_or_port; - uint16_t internal_port; - uint16_t external_port; - int fetch_public_ip; - int nat_pmp_status; - int upnp_status; - int public_ip_status; + int verbose; + int help; + int test_commandline; + uint16_t private_dir_port; + uint16_t private_or_port; + uint16_t public_dir_port; + uint16_t public_or_port; + uint16_t internal_port; + uint16_t external_port; + int fetch_public_ip; + int nat_pmp_status; + int upnp_status; + int public_ip_status; } tor_fw_options_t; /** This is our main structure that defines our backend helper API; each helper * must conform to these public methods if it expects to be handled in a * non-special way. */ typedef struct tor_fw_backend_t { - const char *name; - size_t state_len; - int (*init)(tor_fw_options_t *options, void *backend_state); - int (*cleanup)(tor_fw_options_t *options, void *backend_state); - int (*fetch_public_ip)(tor_fw_options_t *options, void *backend_state); - int (*add_tcp_mapping)(tor_fw_options_t *options, void *backend_state); + const char *name; + size_t state_len; + int (*init)(tor_fw_options_t *options, void *backend_state); + int (*cleanup)(tor_fw_options_t *options, void *backend_state); + int (*fetch_public_ip)(tor_fw_options_t *options, void *backend_state); + int (*add_tcp_mapping)(tor_fw_options_t *options, void *backend_state); } tor_fw_backend_t; #endif |