]> git.cworth.org Git - ttt/blobdiff - src/ttt.h
2005-11-14 Carl Worth <cworth@cworth.org>
[ttt] / src / ttt.h
index 0f2f7e55782f7e7ac54a8bf85daaf0c8795bc64b..aaa1ed0ab4d524bd4ec7468916e315a0173acc20 100644 (file)
--- a/src/ttt.h
+++ b/src/ttt.h
 #define _GNU_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdarg.h>
+#include <stdint.h>
 #include <unistd.h>
+#include <fcntl.h>
 #include <assert.h>
 #include <string.h>
 #include <errno.h>
 #include <ctype.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <pthread.h>
 
 #define ASSERT_NOT_REACHED             \
 do {                                   \
@@ -50,7 +56,17 @@ do {                                 \
 #define TTT_PRINTF_FORMAT(fmt_index, va_index)
 #endif
 
-#include "ttt-args.h"
 #include "x.h"
 
+typedef int ttt_bool_t;
+
+#define FALSE 0
+#define TRUE  1
+
+typedef enum {
+    TTT_STATUS_SUCCESS = 0,
+    TTT_STATUS_FAILURE,
+    TTT_STATUS_EOF
+} ttt_status_t;
+
 #endif