diff include/urweb/urweb_cpp.h @ 2204:01c8aceac480

Finishes initial prototype, caching parameterless pages with table-match-based invalidation. Still has problems parsing non-Postgres SQL dialects properly.
author Ziv Scully <ziv@mit.edu>
date Tue, 27 May 2014 21:14:13 -0400
parents 81bc76aa4acd
children c1a62ce47083
line wrap: on
line diff
--- a/include/urweb/urweb_cpp.h	Tue Mar 25 02:04:06 2014 -0400
+++ b/include/urweb/urweb_cpp.h	Tue May 27 21:14:13 2014 -0400
@@ -75,6 +75,10 @@
 
 void uw_write(struct uw_context *, const char*);
 
+// For caching.
+void uw_recordingStart(struct uw_context *);
+char *uw_recordingRead(struct uw_context *);
+
 uw_Basis_source uw_Basis_new_client_source(struct uw_context *, uw_Basis_string);
 uw_unit uw_Basis_set_client_source(struct uw_context *, uw_Basis_source, uw_Basis_string);