summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-12-22 13:14:41 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-12-22 13:14:41 +0000
commite0c9e33cc484025e2b80bec19f7130554e9e3781 (patch)
tree8e59eef2efd7c569707224edbc67ade716d8673f /util.h
parenta99d921cf322a09d779500c2cdeb55e3df260fb8 (diff)
moved more code to tlscommon, fixed a couple of minor lint warnings
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@447 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'util.h')
-rw-r--r--util.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/util.h b/util.h
index 9565584..d87befd 100644
--- a/util.h
+++ b/util.h
@@ -11,12 +11,9 @@
char *stringcopy(const char *s, int len);
char *addr2string(struct sockaddr *addr);
-int addr_equal(struct sockaddr *a, struct sockaddr *b);
struct sockaddr *addr_copy(struct sockaddr *in);
-uint16_t port_get(struct sockaddr *sa);
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);