summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-03-19 16:34:13 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-03-19 16:34:13 -0400
commit9e730b9a1aa4db311088a355e7e8601c6a998467 (patch)
tree286b56b8fe24a04c3c2a26f13d6fdc9c845d7452 /include
parent1f530c51813cbeee1b166e5e75058eacb313f306 (diff)
Dummy message delivery to clients
Diffstat (limited to 'include')
-rw-r--r--include/urweb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/urweb.h b/include/urweb.h
index 676cc84b..ca0aada2 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -6,6 +6,11 @@ int uw_really_send(int sock, void *buf, ssize_t len);
extern uw_unit uw_unit_v;
+void uw_global_init(void);
+
+void uw_client_connect(size_t id, int pass, int sock);
+void uw_prune_clients(time_t timeout);
+
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);
@@ -41,6 +46,7 @@ uw_unit uw_Basis_set_client_source(uw_context, uw_Basis_int, uw_Basis_string);
void uw_set_script_header(uw_context, const char*);
const char *uw_Basis_get_script(uw_context, uw_unit);
+const char *uw_Basis_get_listener(uw_context, uw_unit);
char *uw_Basis_htmlifyInt(uw_context, uw_Basis_int);
char *uw_Basis_htmlifyFloat(uw_context, uw_Basis_float);