summaryrefslogtreecommitdiff
path: root/tcp.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-08-21 07:45:34 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-08-21 07:45:34 +0000
commit39692c605e2f1c37efd38f675abdd22ac503b382 (patch)
treee65b7845008c49a31cbc16f263761a542ca69bab /tcp.h
parent230b3daa9734ba0c62f24e606137a3bdbc8ec340 (diff)
separated tcp
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@348 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'tcp.h')
-rw-r--r--tcp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tcp.h b/tcp.h
new file mode 100644
index 0000000..2864bb4
--- /dev/null
+++ b/tcp.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright (C) 2008 Stig Venaas <venaas@uninett.no>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ */
+
+int tcpconnect(struct server *server, struct timeval *when, int timeout, char *text);
+int clientradputtcp(struct server *server, unsigned char *rad);
+void *tcpclientrd(void *arg);
+void *tcplistener(void *arg);