]> git.cworth.org Git - ttt/blobdiff - src/ttt.h
2005-11-29 Carl Worth <cworth@cworth.org>
[ttt] / src / ttt.h
index c3e8c5c25fa88abb9c1b91df910ebc889bc7f536..1b22ba0bc0d33db5c1e9a427df7c593512a07d57 100644 (file)
--- a/src/ttt.h
+++ b/src/ttt.h
@@ -56,8 +56,6 @@ do {                                  \
 #define TTT_PRINTF_FORMAT(fmt_index, va_index)
 #endif
 
 #define TTT_PRINTF_FORMAT(fmt_index, va_index)
 #endif
 
-#include "x.h"
-
 typedef int ttt_bool_t;
 
 #define FALSE 0
 typedef int ttt_bool_t;
 
 #define FALSE 0
@@ -66,10 +64,14 @@ typedef int ttt_bool_t;
 typedef enum {
     TTT_STATUS_SUCCESS = 0,
     TTT_STATUS_FAILURE,
 typedef enum {
     TTT_STATUS_SUCCESS = 0,
     TTT_STATUS_FAILURE,
-    TTT_STATUS_EOF
+    TTT_STATUS_EOF,
+    TTT_STATUS_CONNECTION_REFUSED,
+    TTT_STATUS_NETWORK_UNREACHABLE
 } ttt_status_t;
 
 typedef struct _ttt_server ttt_server_t;
 typedef struct _ttt_client ttt_client_t;
 
 } ttt_status_t;
 
 typedef struct _ttt_server ttt_server_t;
 typedef struct _ttt_client ttt_client_t;
 
+#include "x.h"
+
 #endif
 #endif