From 8c898f4724bd7ba25725214a60f307c1e0944fa5 Mon Sep 17 00:00:00 2001 From: venaas Date: Wed, 24 Sep 2008 08:21:16 +0000 Subject: some code improvemetns, more efficiently removing outstanding requests when removing client, also taking care of dynamic servers, need to look into server removal git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@399 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util.h') diff --git a/util.h b/util.h index 3280379..9565584 100644 --- a/util.h +++ b/util.h @@ -18,3 +18,5 @@ void port_set(struct sockaddr *sa, uint16_t port); void printfchars(char *prefixfmt, char *prefix, char *charfmt, char *chars, int len); int connectport(int type, char *host, char *port); +int bindtoaddr(struct addrinfo *addrinfo, int family, int reuse, int v6only); +int connecttcp(struct addrinfo *addrinfo, struct addrinfo *src); -- cgit v1.1