diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-11-26 14:20:00 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-11-26 14:20:00 -0500 |
commit | c1816939cb921097620b88c213d181d0bdba7f29 (patch) | |
tree | 428c81f5418b09ac4d8f8bbfa61e16723e519f67 /include | |
parent | 0b80adac740c7eb8ec15d907b9d311b6a68076fc (diff) |
More fun with cookies
Diffstat (limited to 'include')
-rw-r--r-- | include/urweb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/urweb.h b/include/urweb.h index 55068966..9884a3ca 100644 --- a/include/urweb.h +++ b/include/urweb.h @@ -185,7 +185,8 @@ uw_Basis_string uw_Basis_requestHeader(uw_context, uw_Basis_string); void uw_write_header(uw_context, uw_Basis_string); uw_Basis_string uw_Basis_get_cookie(uw_context, uw_Basis_string c); -uw_unit uw_Basis_set_cookie(uw_context, uw_Basis_string prefix, uw_Basis_string c, uw_Basis_string v); +uw_unit uw_Basis_set_cookie(uw_context, uw_Basis_string prefix, uw_Basis_string c, uw_Basis_string v, uw_Basis_time *expires, uw_Basis_bool secure); +uw_unit uw_Basis_clear_cookie(uw_context, uw_Basis_string prefix, uw_Basis_string c); uw_Basis_channel uw_Basis_new_channel(uw_context, uw_unit); uw_unit uw_Basis_send(uw_context, uw_Basis_channel, uw_Basis_string); @@ -210,6 +211,7 @@ uw_Basis_int uw_Basis_blobSize(uw_context, uw_Basis_blob); __attribute__((noreturn)) void uw_return_blob(uw_context, uw_Basis_blob, uw_Basis_string mimeType); uw_Basis_time uw_Basis_now(uw_context); +extern const uw_Basis_time uw_Basis_minTime; void uw_register_transactional(uw_context, void *data, uw_callback commit, uw_callback rollback, uw_callback free); |