Mercurial > urweb
comparison include/urweb.h @ 667:a93d5324f400
Dummy message delivery to clients
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 19 Mar 2009 16:34:13 -0400 |
parents | 3c6d535d3d8b |
children | b0c1a46b1f15 |
comparison
equal
deleted
inserted
replaced
666:5130228d2b29 | 667:a93d5324f400 |
---|---|
3 #include "types.h" | 3 #include "types.h" |
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 | |
9 void uw_global_init(void); | |
10 | |
11 void uw_client_connect(size_t id, int pass, int sock); | |
12 void uw_prune_clients(time_t timeout); | |
8 | 13 |
9 uw_context uw_init(size_t outHeaders_len, size_t script_len, size_t page_len, size_t heap_len); | 14 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*); | 15 void uw_set_db(uw_context, void*); |
11 void *uw_get_db(uw_context); | 16 void *uw_get_db(uw_context); |
12 void uw_free(uw_context); | 17 void uw_free(uw_context); |
39 uw_Basis_int uw_Basis_new_client_source(uw_context, uw_Basis_string); | 44 uw_Basis_int uw_Basis_new_client_source(uw_context, uw_Basis_string); |
40 uw_unit uw_Basis_set_client_source(uw_context, uw_Basis_int, uw_Basis_string); | 45 uw_unit uw_Basis_set_client_source(uw_context, uw_Basis_int, uw_Basis_string); |
41 | 46 |
42 void uw_set_script_header(uw_context, const char*); | 47 void uw_set_script_header(uw_context, const char*); |
43 const char *uw_Basis_get_script(uw_context, uw_unit); | 48 const char *uw_Basis_get_script(uw_context, uw_unit); |
49 const char *uw_Basis_get_listener(uw_context, uw_unit); | |
44 | 50 |
45 char *uw_Basis_htmlifyInt(uw_context, uw_Basis_int); | 51 char *uw_Basis_htmlifyInt(uw_context, uw_Basis_int); |
46 char *uw_Basis_htmlifyFloat(uw_context, uw_Basis_float); | 52 char *uw_Basis_htmlifyFloat(uw_context, uw_Basis_float); |
47 char *uw_Basis_htmlifyString(uw_context, uw_Basis_string); | 53 char *uw_Basis_htmlifyString(uw_context, uw_Basis_string); |
48 char *uw_Basis_htmlifyBool(uw_context, uw_Basis_bool); | 54 char *uw_Basis_htmlifyBool(uw_context, uw_Basis_bool); |