summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/unix.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-05-24 16:50:18 +0200
committerMartin Mares <mj@ucw.cz>1998-05-24 16:50:18 +0200
commitb5d9ee5c878b41ffbc138be171d700992e9d78c7 (patch)
treee7f923e948e2a7ed84745dff90e36d409e4c3aad /sysdep/unix/unix.h
parent6d45cf21be3f979ba4e8a1a5f557663618fadfb3 (diff)
downloadbird-b5d9ee5c878b41ffbc138be171d700992e9d78c7.tar
bird-b5d9ee5c878b41ffbc138be171d700992e9d78c7.zip
Added UNIX implementation of both timers and sockets. Timers should work,
sockets were tested only in TCP mode. main.c now contains some test cases for socket code.
Diffstat (limited to 'sysdep/unix/unix.h')
-rw-r--r--sysdep/unix/unix.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysdep/unix/unix.h b/sysdep/unix/unix.h
new file mode 100644
index 0000000..2f98fcf
--- /dev/null
+++ b/sysdep/unix/unix.h
@@ -0,0 +1,17 @@
+/*
+ * BIRD -- Declarations Common to Unix Port
+ *
+ * (c) 1998 Martin Mares <mj@ucw.cz>
+ *
+ * Can be freely distributed and used under the terms of the GNU GPL.
+ */
+
+#ifndef _BIRD_UNIX_H_
+#define _BIRD_UNIX_H_
+
+/* io.c */
+
+void io_init(void);
+void io_loop(void);
+
+#endif