diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-07-22 15:39:38 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-07-22 15:39:38 -0400 |
commit | 383fa383fa5bf010b89d17bb61a84f675fb16fb6 (patch) | |
tree | 6656ba1a78bd4eb71c381dc95d2e7b1a8ce6b130 /include | |
parent | 1ac8b4fcb81e8cc8d78d4542a2bc06190499a0cd (diff) |
Backpedal on tutorial-motivated urweb-mode changes; add Basis.diffInSeconds and Basis.toSeconds
Diffstat (limited to 'include')
-rw-r--r-- | include/urweb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/urweb.h b/include/urweb.h index 1b10583f..b5692a6d 100644 --- a/include/urweb.h +++ b/include/urweb.h @@ -252,6 +252,8 @@ __attribute__((noreturn)) void uw_redirect(uw_context, uw_Basis_string url); uw_Basis_time uw_Basis_now(uw_context); uw_Basis_time uw_Basis_addSeconds(uw_context, uw_Basis_time, uw_Basis_int); +uw_Basis_int uw_Basis_diffInSeconds(uw_context, uw_Basis_time, uw_Basis_time); +uw_Basis_int uw_Basis_toSeconds(uw_context, uw_Basis_time); extern const uw_Basis_time uw_Basis_minTime; void uw_register_transactional(uw_context, void *data, uw_callback commit, uw_callback rollback, uw_callback_with_retry free); |