separated tcp
[radsecproxy.git] / tcp.h
diff --git a/tcp.h b/tcp.h
new file mode 100644 (file)
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);