aboutsummaryrefslogtreecommitdiff
path: root/src/IO/IO.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/IO/IO.h')
-rw-r--r--src/IO/IO.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/IO/IO.h b/src/IO/IO.h
new file mode 100644
index 00000000..71ed25b4
--- /dev/null
+++ b/src/IO/IO.h
@@ -0,0 +1,45 @@
+#ifndef __IO_H__
+#define __IO_H__
+
+#include <unistd.h>
+#include <sys/uio.h>
+
+#include "d_size.h"
+#include "../../dlib/dlib.h"
+#include "../chain.h"
+#include "iowatch.hh"
+
+/*
+ * IO Operations
+ */
+#define IORead 0
+#define IOWrite 1
+#define IOClose 2
+#define IOAbort 3
+
+/*
+ * IO Flags (unused)
+ */
+#define IOFlag_ForceClose (1 << 1)
+#define IOFlag_SingleWrite (1 << 2)
+
+/*
+ * IO constants
+ */
+#define IOBufLen 8192
+
+
+/*
+ * Exported functions
+ */
+/* Note: a_IO_ccc() is defined in Url.h together with the *_ccc() set */
+
+
+/*
+ * Exported data
+ */
+extern const char *AboutSplash;
+
+
+#endif /* __IO_H__ */
+