diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-12-26 17:29:03 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-12-26 17:29:03 -0500 |
commit | 43a2c0777948cd8ab868befbaffbb0585eee208c (patch) | |
tree | 897f72fa64ec732b9a26c428c5ddeb9a0d7f6cf6 /include | |
parent | bd29062df3c929ec338db7aa08363e3167a5429a (diff) |
queryString and effectfulUrl
Diffstat (limited to 'include')
-rw-r--r-- | include/types.h | 2 | ||||
-rw-r--r-- | include/urweb.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h index ddc46b27..d36f0f6b 100644 --- a/include/types.h +++ b/include/types.h @@ -47,6 +47,8 @@ typedef struct uw_Basis_postBody { uw_Basis_string type, data; } uw_Basis_postBody; +typedef uw_Basis_string uw_Basis_queryString; + 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.h b/include/urweb.h index 69496d06..dbbfec38 100644 --- a/include/urweb.h +++ b/include/urweb.h @@ -317,4 +317,7 @@ size_t uw_buffer_used(uw_buffer *); size_t uw_buffer_avail(uw_buffer *); int uw_buffer_append(uw_buffer *, const char *, size_t); +void uw_setQueryString(uw_context, uw_Basis_string); +uw_Basis_string uw_queryString(uw_context); + #endif |