summaryrefslogtreecommitdiff
path: root/include/urweb.h
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-01-03 17:13:45 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-01-03 17:13:45 -0500
commit67085821cfd1d5524b386dee083f877b74e93f2e (patch)
treec64216bacfaaad2793c146651100f3c289e5daf9 /include/urweb.h
parent60dfbfbc250c197357d84771bdc5aaaa812c573e (diff)
Database quotas
Diffstat (limited to 'include/urweb.h')
-rw-r--r--include/urweb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/urweb.h b/include/urweb.h
index d05e59ec..75239c62 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -40,6 +40,7 @@ int uw_rollback(uw_context);
__attribute__((noreturn)) void uw_error(uw_context, failure_kind, const char *fmt, ...);
char *uw_error_message(uw_context);
+void uw_set_error_message(uw_context, const char *);
void uw_push_cleanup(uw_context, void (*func)(void *), void *arg);
void uw_pop_cleanup(uw_context);
@@ -260,6 +261,8 @@ 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;
+extern size_t uw_database_max;
+
extern int uw_time;
void uw_set_deadline(uw_context, int);