summaryrefslogtreecommitdiff
path: root/include/types.h
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-06-23 14:05:12 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-06-23 14:05:12 -0400
commit3602f46fee1c01d173177298abd3caa58e3d946b (patch)
treee623aac5c0b1237fc0e7d16fa0749b114d18aa6e /include/types.h
parentc701f11b2ee105af75dbeb4baaf0f2c35bb417e2 (diff)
Factor out common request functionality, in preparation for supporting different protocols
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index ca9ef152..4a28452b 100644
--- a/include/types.h
+++ b/include/types.h
@@ -40,6 +40,8 @@ typedef struct uw_Basis_file {
typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY, RETURN_BLOB } failure_kind;
+typedef enum { SERVED, KEEP_OPEN, FAILED } request_result;
+
typedef struct input *uw_input;
#define INTS_MAX 50