diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-07-21 15:16:57 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-07-21 15:16:57 -0400 |
commit | cbce1b6184acae87ba220969ab2c69cf2697ea32 (patch) | |
tree | 4be6d87576e314c5a2a1ecbaed89913bceca422f /include | |
parent | 17e8230265e8fb22d583c4ba33d4243f24d6b8bc (diff) |
Top.postFields
Diffstat (limited to 'include')
-rw-r--r-- | include/urweb/types.h | 4 | ||||
-rw-r--r-- | include/urweb/urweb.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/urweb/types.h b/include/urweb/types.h index c401b38f..152f4392 100644 --- a/include/urweb/types.h +++ b/include/urweb/types.h @@ -51,6 +51,10 @@ typedef struct uw_Basis_postBody { typedef uw_Basis_string uw_Basis_queryString; +typedef struct { + uw_Basis_string name, value, remaining; +} uw_Basis_postField; + typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY, RETURN_INDIRECTLY } failure_kind; typedef enum { SERVED, KEEP_OPEN, FAILED } request_result; diff --git a/include/urweb/urweb.h b/include/urweb/urweb.h index 21c8bc88..af0aafdb 100644 --- a/include/urweb/urweb.h +++ b/include/urweb/urweb.h @@ -363,4 +363,9 @@ uw_Basis_string uw_Basis_property(uw_context, uw_Basis_string); void uw_begin_initializing(uw_context); void uw_end_initializing(uw_context); +uw_Basis_string uw_Basis_fieldName(uw_context, uw_Basis_postField); +uw_Basis_string uw_Basis_fieldValue(uw_context, uw_Basis_postField); +uw_Basis_string uw_Basis_remainingFields(uw_context, uw_Basis_postField); +uw_Basis_postField *uw_Basis_firstFormField(uw_context, uw_Basis_string); + #endif |