aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/get_tcp_conn.h
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/get_tcp_conn.h')
-rw-r--r--FICS/get_tcp_conn.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/FICS/get_tcp_conn.h b/FICS/get_tcp_conn.h
new file mode 100644
index 0000000..01320ae
--- /dev/null
+++ b/FICS/get_tcp_conn.h
@@ -0,0 +1,13 @@
+/*
+** Return codes from get_tcp_conn().
+*/
+#define FAIL (-1) /* routine failed */
+#define NOHOST (FAIL-1) /* no such host */
+#define NOSERVICE (FAIL-2) /* no such service */
+
+extern int get_tcp_conn(char *, int);
+extern unsigned long **name_to_address(char *);
+
+/* extern int bcopy(); */
+extern int socket();
+extern int connect();