diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-12-19 09:35:44 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-12-19 09:35:44 -0500 |
commit | 8d98194908d9001ce5da0bceda10c22e71e940ba (patch) | |
tree | 70071eb5a0b61a2d2830a76b94c7b292bdd65559 /include | |
parent | a69a769216ef5fa9e96168ca21d110f79c22f547 (diff) |
Add initial C support for reactive
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 ad08c811..c021c3dd 100644 --- a/include/urweb.h +++ b/include/urweb.h @@ -6,7 +6,7 @@ int uw_really_send(int sock, void *buf, ssize_t len); extern uw_unit uw_unit_v; -uw_context uw_init(size_t outHeaders_len, size_t page_len, size_t heap_len); +uw_context uw_init(size_t outHeaders_len, size_t script_len, size_t page_len, size_t heap_len); void uw_set_db(uw_context, void*); void *uw_get_db(uw_context); void uw_free(uw_context); @@ -36,6 +36,8 @@ char *uw_get_optional_input(uw_context, int name); void uw_write(uw_context, const char*); +int uw_Basis_new_client_reactive(uw_context); + char *uw_Basis_htmlifyInt(uw_context, uw_Basis_int); char *uw_Basis_htmlifyFloat(uw_context, uw_Basis_float); char *uw_Basis_htmlifyString(uw_context, uw_Basis_string); |