summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-14 17:16:03 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-14 17:16:03 +0000
commit52570225d77be0f9c751ab30e8ec6f98639be827 (patch)
tree2ca88824d8bb89a05d2a9e546dd292b9017fe6df /util.h
parent973eaceb232a0038d97cf21c13c53ae33a5e232b (diff)
changing to use a separate client structure for each udp client
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@378 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 c151b90..7bb8202 100644
--- a/util.h
+++ b/util.h
@@ -3,5 +3,7 @@
char *stringcopy(const char *s, int len);
char *addr2string(struct sockaddr *addr, socklen_t len);
+int addr_equal(struct sockaddr *a, struct sockaddr *b);
+struct sockaddr *addr_copy(struct sockaddr *in);
void printfchars(char *prefixfmt, char *prefix, char *charfmt, char *chars, int len);
int connectport(int type, char *host, char *port);