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 | c723667d402b730edc4059cb132587977893b42a (patch) | |
tree | 6656ba1a78bd4eb71c381dc95d2e7b1a8ce6b130 /include | |
parent | 02d95a3ae4ed3519b082fe49616e493572e68e83 (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); |