Mercurial > urweb
diff include/urweb.h @ 1113:40d48a2b78a7
Memory limits
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 03 Jan 2010 15:32:11 -0500 |
parents | 7fc4e0087e50 |
children | 01b6c7144a44 |
line wrap: on
line diff
--- a/include/urweb.h Sun Jan 03 12:47:27 2010 -0500 +++ b/include/urweb.h Sun Jan 03 15:32:11 2010 -0500 @@ -21,7 +21,7 @@ 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_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