summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-24 08:21:16 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-24 08:21:16 +0000
commit8c898f4724bd7ba25725214a60f307c1e0944fa5 (patch)
tree28108408898218b06266924f23f3751a80744a6f /util.h
parent0aa4b1fb04dafb9767309afa5d6ad6805391670f (diff)
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
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
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);