summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorvenaas <venaas>2007-11-21 13:33:11 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-11-21 13:33:11 +0000
commitddddde8f5202c6ae5da26b19e2c6a84709b8ea4d (patch)
tree1fb4f7c1b3b0270ae0bab508e21c35d7eb9d0bbf /util.h
parentd4b43756398a2c9d82e23e3d0c174cee01de04b9 (diff)
moved genericconfig to gconfig.c and reorganised header files
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@197 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'util.h')
-rw-r--r--util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/util.h b/util.h
new file mode 100644
index 0000000..9ec4817
--- /dev/null
+++ b/util.h
@@ -0,0 +1,6 @@
+#include <sys/socket.h>
+
+char *stringcopy(char *s, int len);
+char *addr2string(struct sockaddr *addr, socklen_t len);
+void printfchars(char *prefixfmt, char *prefix, char *charfmt, char *chars, int len);
+int connectport(int type, char *host, char *port);