Mercurial > urweb
comparison include/urweb.h @ 562:6daa59a55c43
Add initial C support for reactive
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Fri, 19 Dec 2008 09:35:44 -0500 |
parents | ae03d09043c1 |
children | 74800be65591 |
comparison
equal
deleted
inserted
replaced
561:79aea80904e8 | 562:6daa59a55c43 |
---|---|
4 | 4 |
5 int uw_really_send(int sock, void *buf, ssize_t len); | 5 int uw_really_send(int sock, void *buf, ssize_t len); |
6 | 6 |
7 extern uw_unit uw_unit_v; | 7 extern uw_unit uw_unit_v; |
8 | 8 |
9 uw_context uw_init(size_t outHeaders_len, size_t page_len, size_t heap_len); | 9 uw_context uw_init(size_t outHeaders_len, size_t script_len, size_t page_len, size_t heap_len); |
10 void uw_set_db(uw_context, void*); | 10 void uw_set_db(uw_context, void*); |
11 void *uw_get_db(uw_context); | 11 void *uw_get_db(uw_context); |
12 void uw_free(uw_context); | 12 void uw_free(uw_context); |
13 void uw_reset(uw_context); | 13 void uw_reset(uw_context); |
14 void uw_reset_keep_request(uw_context); | 14 void uw_reset_keep_request(uw_context); |
33 void uw_set_input(uw_context, char *name, char *value); | 33 void uw_set_input(uw_context, char *name, char *value); |
34 char *uw_get_input(uw_context, int name); | 34 char *uw_get_input(uw_context, int name); |
35 char *uw_get_optional_input(uw_context, int name); | 35 char *uw_get_optional_input(uw_context, int name); |
36 | 36 |
37 void uw_write(uw_context, const char*); | 37 void uw_write(uw_context, const char*); |
38 | |
39 int uw_Basis_new_client_reactive(uw_context); | |
38 | 40 |
39 char *uw_Basis_htmlifyInt(uw_context, uw_Basis_int); | 41 char *uw_Basis_htmlifyInt(uw_context, uw_Basis_int); |
40 char *uw_Basis_htmlifyFloat(uw_context, uw_Basis_float); | 42 char *uw_Basis_htmlifyFloat(uw_context, uw_Basis_float); |
41 char *uw_Basis_htmlifyString(uw_context, uw_Basis_string); | 43 char *uw_Basis_htmlifyString(uw_context, uw_Basis_string); |
42 char *uw_Basis_htmlifyBool(uw_context, uw_Basis_bool); | 44 char *uw_Basis_htmlifyBool(uw_context, uw_Basis_bool); |