Mercurial > urweb
comparison 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 |
comparison
equal
deleted
inserted
replaced
852:4d4c62d95b9c | 853:19fdeef40ada |
---|---|
38 uw_Basis_blob data; | 38 uw_Basis_blob data; |
39 } uw_Basis_file; | 39 } uw_Basis_file; |
40 | 40 |
41 typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY, RETURN_BLOB } failure_kind; | 41 typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY, RETURN_BLOB } failure_kind; |
42 | 42 |
43 typedef enum { SERVED, KEEP_OPEN, FAILED } request_result; | |
44 | |
43 typedef struct input *uw_input; | 45 typedef struct input *uw_input; |
44 | 46 |
45 #define INTS_MAX 50 | 47 #define INTS_MAX 50 |
46 #define FLOATS_MAX 100 | 48 #define FLOATS_MAX 100 |
47 #define TIMES_MAX 100 | 49 #define TIMES_MAX 100 |