Mercurial > urweb
diff include/types.h @ 1347:b106ca8200b1
postBody type
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 18 Dec 2010 10:56:31 -0500 |
parents | 1cc67fdac4d3 |
children | 87156c44824f |
line wrap: on
line diff
--- a/include/types.h Thu Dec 16 18:40:49 2010 -0500 +++ b/include/types.h Sat Dec 18 10:56:31 2010 -0500 @@ -40,6 +40,10 @@ uw_Basis_blob data; } uw_Basis_file; +typedef struct uw_Basis_postBody { + uw_Basis_string type, data; +} uw_Basis_postBody; + typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY, RETURN_INDIRECTLY } failure_kind; typedef enum { SERVED, KEEP_OPEN, FAILED } request_result;