summaryrefslogtreecommitdiff
path: root/include/types.h
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-09-07 08:28:07 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2010-09-07 08:28:07 -0400
commit5545969f485ef2fb944db8e7b0237acbabeb8d4c (patch)
treeab4a39c6f88b3e8719c9e41dfcd7f147126ef790 /include/types.h
parentee175ea1f9151123e47d9cbfee0c6329b2e5d934 (diff)
Server-side 'onError'
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index 138760e5..ac70c34f 100644
--- a/include/types.h
+++ b/include/types.h
@@ -73,6 +73,10 @@ typedef struct {
uw_Basis_string (*cookie_sig)(uw_context);
int (*check_url)(const char *);
int (*check_mime)(const char *);
+
+ void (*on_error)(uw_context, char *);
} uw_app;
+#define ERROR_BUF_LEN 1024
+
#endif