diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-01-03 15:32:11 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-01-03 15:32:11 -0500 |
commit | 6ee843295ea4449a5b8794db6880f8af7aaeff3e (patch) | |
tree | 983283bbd3b1cbd068983ef8e07787e8a1d1d6a0 /include | |
parent | 9890b6de2e6877c67650f64410127ee2dfe8581e (diff) |
Memory limits
Diffstat (limited to 'include')
-rw-r--r-- | include/urweb.h | 5 |
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 |