TFO: use enum for client status
[exim.git] / src / src / structs.h
index b1df408be9669a30dfd7ac705ab2af7df5084005..1ac455ca5789624568e70173a379c2d3ef6a8cc7 100644 (file)
@@ -65,6 +65,10 @@ typedef enum {       CHUNKING_NOT_OFFERED = -1,
                CHUNKING_ACTIVE,
                CHUNKING_LAST} chunking_state_t;
 
+typedef enum { TFO_NOT_USED = 0,
+               TFO_ATTEMPTED,
+               TFO_USED } tfo_state_t;
+
 /* Structure for holding information about a host for use mainly by routers,
 but also used when checking lists of hosts and when transporting. Looking up
 host addresses is done using this structure. */