summaryrefslogtreecommitdiff
path: root/src/tcp.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2010-12-03 01:46:39 +0000
committerChristian Pointner <equinox@spreadspace.org>2010-12-03 01:46:39 +0000
commit93171b004f7e118f115d123026d8a60a64c6cd0b (patch)
tree97f7e023381b55b673303b3ee5bb5da50b9caf2d /src/tcp.h
parentupdated readme (new build deps +flex +bison) (diff)
passive resolvon for listen sockets only
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@26 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'src/tcp.h')
-rw-r--r--src/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp.h b/src/tcp.h
index ce559ef..a81bd3a 100644
--- a/src/tcp.h
+++ b/src/tcp.h
@@ -40,6 +40,6 @@ typedef struct {
} tcp_endpoint_t;
char* tcp_endpoint_to_string(tcp_endpoint_t e);
-struct addrinfo* tcp_resolve_endpoint(const char* addr, const char* port, resolv_type_t rt);
+struct addrinfo* tcp_resolve_endpoint(const char* addr, const char* port, resolv_type_t rt, int passive);
#endif