diff options
author | Adam Chlipala <adam@chlipala.net> | 2015-12-20 14:18:52 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2015-12-20 14:18:52 -0500 |
commit | 68b355524cc20056d8c059138be225aaa9762e0a (patch) | |
tree | 6c9a407a965d2cdd5f30815cc3e642a6f9b3d451 /include/urweb/urweb_cpp.h | |
parent | 7bf4f9f063dcdc9fc50ad6ac6143b113535b68f0 (diff) | |
parent | 0271786bacdf9c12a142367a479b24ba111ebd17 (diff) |
Merge Sqlcache
Diffstat (limited to 'include/urweb/urweb_cpp.h')
-rw-r--r-- | include/urweb/urweb_cpp.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/urweb/urweb_cpp.h b/include/urweb/urweb_cpp.h index 5aa6ec69..916fbbf9 100644 --- a/include/urweb/urweb_cpp.h +++ b/include/urweb/urweb_cpp.h @@ -78,6 +78,10 @@ int uw_next_entry(struct uw_context *); 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); @@ -400,4 +404,12 @@ void uw_set_remoteSock(struct uw_context *, int sock); void uw_Basis_writec(struct uw_context *, char); +// Sqlcache. + +void *uw_Sqlcache_rlock(struct uw_context *, uw_Sqlcache_Cache *); +void *uw_Sqlcache_wlock(struct uw_context *, uw_Sqlcache_Cache *); +uw_Sqlcache_Value *uw_Sqlcache_check(struct uw_context *, uw_Sqlcache_Cache *, char **); +void *uw_Sqlcache_store(struct uw_context *, uw_Sqlcache_Cache *, char **, uw_Sqlcache_Value *); +void *uw_Sqlcache_flush(struct uw_context *, uw_Sqlcache_Cache *, char **); + #endif |