X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2Fttt.h;h=c3e8c5c25fa88abb9c1b91df910ebc889bc7f536;hp=0820212d68f699dd33a82f4f4a9293175ca2fd01;hb=907321c065fb1383e800f0794981df91d4327f57;hpb=152ea9285ef3804783540d46263a7fc9802bc7db diff --git a/src/ttt.h b/src/ttt.h index 0820212..c3e8c5c 100644 --- a/src/ttt.h +++ b/src/ttt.h @@ -30,6 +30,7 @@ #define _GNU_SOURCE #include #include +#include #include #include #include @@ -39,6 +40,7 @@ #include #include #include +#include #define ASSERT_NOT_REACHED \ do { \ @@ -54,14 +56,20 @@ 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_FAILURE, + TTT_STATUS_EOF } ttt_status_t; +typedef struct _ttt_server ttt_server_t; +typedef struct _ttt_client ttt_client_t; + #endif