diff include/types.h @ 1294:b4480a56cab7

Server-side 'onError'
author Adam Chlipala <adam@chlipala.net>
date Tue, 07 Sep 2010 08:28:07 -0400
parents 150465f2895c
children 1cc67fdac4d3
line wrap: on
line diff
--- a/include/types.h	Sun Sep 05 14:00:57 2010 -0400
+++ b/include/types.h	Tue Sep 07 08:28:07 2010 -0400
@@ -73,6 +73,10 @@
   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