summaryrefslogtreecommitdiff
path: root/include/urweb
diff options
context:
space:
mode:
authorGravatar Ziv Scully <ziv@mit.edu>2015-11-12 09:15:50 -0500
committerGravatar Ziv Scully <ziv@mit.edu>2015-11-12 09:15:50 -0500
commit011b7148c87f8b0d90abee2f454ef7689493e1f9 (patch)
treef5b03f75a02e3e5c82828452198dde19e048554d /include/urweb
parent6205c6660874af4147828e2610ca5c2feec834ad (diff)
Simplify C interface.
Diffstat (limited to 'include/urweb')
-rw-r--r--include/urweb/types_cpp.h1
-rw-r--r--include/urweb/urweb_cpp.h6
2 files changed, 4 insertions, 3 deletions
diff --git a/include/urweb/types_cpp.h b/include/urweb/types_cpp.h
index 4847a3fd..3955dcc8 100644
--- a/include/urweb/types_cpp.h
+++ b/include/urweb/types_cpp.h
@@ -140,6 +140,7 @@ typedef struct uw_Sqlcache_Cache {
struct uw_Sqlcache_Entry *table;
unsigned long timeInvalid;
unsigned long timeNow;
+ size_t numKeys;
UT_hash_handle hh;
} uw_Sqlcache_Cache;
diff --git a/include/urweb/urweb_cpp.h b/include/urweb/urweb_cpp.h
index f89c432c..15bfffac 100644
--- a/include/urweb/urweb_cpp.h
+++ b/include/urweb/urweb_cpp.h
@@ -406,8 +406,8 @@ void uw_Basis_writec(struct uw_context *, char);
// Sqlcache.
-uw_Sqlcache_Value *uw_Sqlcache_check(uw_Sqlcache_Cache *, char **, int);
-void *uw_Sqlcache_store(uw_Sqlcache_Cache *, char **, int, uw_Sqlcache_Value *);
-void *uw_Sqlcache_flush(uw_Sqlcache_Cache *, char **, int);
+uw_Sqlcache_Value *uw_Sqlcache_check(uw_Sqlcache_Cache *, char **);
+void *uw_Sqlcache_store(uw_Sqlcache_Cache *, char **, uw_Sqlcache_Value *);
+void *uw_Sqlcache_flush(uw_Sqlcache_Cache *, char **);
#endif