Mercurial > urweb
diff include/types.h @ 853:19fdeef40ada
Factor out common request functionality, in preparation for supporting different protocols
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 23 Jun 2009 14:05:12 -0400 |
parents | 395a5d450cc0 |
children | 86ec89baee01 |
line wrap: on
line diff
--- a/include/types.h Tue Jun 23 12:53:47 2009 -0400 +++ b/include/types.h Tue Jun 23 14:05:12 2009 -0400 @@ -40,6 +40,8 @@ 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