From ef2935347099967cc7092fa7f472d91d51571468 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 24 Feb 2009 00:06:16 +0000 Subject: Whoa, lots of updates. Md5 is more general, nids, cache, cachestore, and cachestorenids all support synchronizing now. Url is pretty much done. --- src/cachestore.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cachestore.h') diff --git a/src/cachestore.h b/src/cachestore.h index 97f02af..437b3d3 100644 --- a/src/cachestore.h +++ b/src/cachestore.h @@ -24,7 +24,10 @@ namespace Bu virtual obtype *load( const keytype &key )=0; virtual void unload( obtype *pObj, const keytype &key )=0; virtual keytype create( obtype *pSrc )=0; + virtual void sync()=0; + virtual void sync( obtype *pObj, const keytype &key )=0; virtual void destroy( obtype *pObj, const keytype &key )=0; + virtual bool has( const keytype &key )=0; virtual Bu::List getKeys() { return Bu::List(); } private: -- cgit v1.2.3