diff options
author | George Kadianakis <desnacked@riseup.net> | 2012-06-07 00:56:23 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2012-09-05 18:02:27 +0300 |
commit | b9e160446a9fcc5c840694ea6eee3c23217bcd19 (patch) | |
tree | 973a03db61e7e602b209ab7d6fb8b29e0d0c981f /src/tools/tor-fw-helper/tor-fw-helper-upnp.h | |
parent | c5778553dc5a5c2f61dc6689a1041364a94e0eca (diff) | |
download | tor-b9e160446a9fcc5c840694ea6eee3c23217bcd19.tar.gz tor-b9e160446a9fcc5c840694ea6eee3c23217bcd19.zip |
Refactor our backends' interface.
Diffstat (limited to 'src/tools/tor-fw-helper/tor-fw-helper-upnp.h')
-rw-r--r-- | src/tools/tor-fw-helper/tor-fw-helper-upnp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/tor-fw-helper/tor-fw-helper-upnp.h b/src/tools/tor-fw-helper/tor-fw-helper-upnp.h index f037c75bab..3a061981d1 100644 --- a/src/tools/tor-fw-helper/tor-fw-helper-upnp.h +++ b/src/tools/tor-fw-helper/tor-fw-helper-upnp.h @@ -36,7 +36,8 @@ int tor_upnp_cleanup(tor_fw_options_t *options, void *backend_state); int tor_upnp_fetch_public_ip(tor_fw_options_t *options, void *backend_state); -int tor_upnp_add_tcp_mapping(tor_fw_options_t *options, void *backend_state); +int tor_upnp_add_tcp_mapping(uint16_t internal_port, uint16_t external_port, + int is_verbose, void *backend_state); #endif #endif |