]> git.cworth.org Git - ttt/blobdiff - src/ttt.h
2005-11-11 Carl Worth <cworth@cworth.org>
[ttt] / src / ttt.h
index 0f2f7e55782f7e7ac54a8bf85daaf0c8795bc64b..316d74494c6e34ae1fde8d7684cbfc84f5d24cea 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 {                                   \
@@ -53,4 +59,11 @@ do {                                 \
 #include "ttt-args.h"
 #include "x.h"
 
+typedef int ttt_bool_t;
+
+typedef enum {
+    TTT_STATUS_SUCCESS = 0,
+    TTT_STATUS_FAILURE
+} ttt_status_t;
+
 #endif