summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-01-03 15:32:11 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-01-03 15:32:11 -0500
commitf1498d6ff5dfe5c210bfa0492da5a8b8414efc1a (patch)
tree983283bbd3b1cbd068983ef8e07787e8a1d1d6a0 /include
parent4dd9404d036d89d53e096b2fccd395deffc8b094 (diff)
Memory limits
Diffstat (limited to 'include')
-rw-r--r--include/urweb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/urweb.h b/include/urweb.h
index 51f1407d..54c73c09 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -21,7 +21,7 @@ void uw_prune_clients(uw_context);
failure_kind uw_initialize(uw_context);
uw_context uw_init(void);
-void uw_set_app(uw_context, uw_app*);
+int uw_set_app(uw_context, uw_app*);
void uw_set_db(uw_context, void*);
void *uw_get_db(uw_context);
void uw_free(uw_context);
@@ -257,4 +257,7 @@ uw_Basis_char uw_Basis_toupper(uw_context, uw_Basis_char);
uw_Basis_string uw_Basis_currentUrl(uw_context);
void uw_set_currentUrl(uw_context, char *);
+extern size_t uw_messages_max, uw_clients_max, uw_headers_max, uw_page_max, uw_heap_max, uw_script_max;
+extern size_t uw_inputs_max, uw_cleanup_max, uw_subinputs_max, uw_deltas_max, uw_transactionals_max, uw_globals_max;
+
#endif