]> git.cworth.org Git - ttt/blobdiff - src/ttt.h
2005-11-08 Carl Worth <cworth@cworth.org>
[ttt] / src / ttt.h
index 0f2f7e55782f7e7ac54a8bf85daaf0c8795bc64b..42b8c433c4c353431d0c3a3b4a74d9c7255d03b4 100644 (file)
--- a/src/ttt.h
+++ b/src/ttt.h
 #define _GNU_SOURCE
 #include <stdio.h>
 #include <stdlib.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 <netinet/ip.h>
+#include <netdb.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