summaryrefslogtreecommitdiff
path: root/include
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
commit85bd2c1f3750a8a918b93815e3550b462b113de5 (patch)
treec64216bacfaaad2793c146651100f3c289e5daf9 /include
parent86bf1a00aacd96b4d32a1e1e88822a2201594926 (diff)
Database quotas
Diffstat (limited to 'include')
-rw-r--r--include/types.h1
-rw-r--r--include/urweb.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index 1c52d460..138760e5 100644
--- a/include/types.h
+++ b/include/types.h
@@ -3,6 +3,7 @@
#include <time.h>
#include <unistd.h>
+#include <stdint.h>
typedef long long uw_Basis_int;
typedef double uw_Basis_float;
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);