summaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-01-16 04:03:57 +0000
committerMike Buland <eichlan@xagasoft.com>2009-01-16 04:03:57 +0000
commit0a43e790cf9798948ab989abe88f890813c935df (patch)
tree536715caf638e1619f3fc73e8e2f8a5022c1f02b /src/cache.h
parent0244488a3a6158659c4fcd1053f15d7f84fc06f8 (diff)
downloadlibbu++-0a43e790cf9798948ab989abe88f890813c935df.tar.gz
libbu++-0a43e790cf9798948ab989abe88f890813c935df.tar.bz2
libbu++-0a43e790cf9798948ab989abe88f890813c935df.tar.xz
libbu++-0a43e790cf9798948ab989abe88f890813c935df.zip
They keys can be accessed now for all stores that support it, they pretty much
all should, but they don't really haaave to.
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cache.h b/src/cache.h
index f614aca..259278c 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -214,6 +214,11 @@ namespace Bu
214 hEnt.erase( cId ); 214 hEnt.erase( cId );
215 } 215 }
216 216
217 Bu::List<keytype> getKeys()
218 {
219 return pStore->getKeys();
220 }
221
217 private: 222 private:
218 void incRef( keytype cId ) 223 void incRef( keytype cId )
219 { 224 {
@@ -230,8 +235,8 @@ namespace Bu
230 235
231 private: 236 private:
232 CidHash hEnt; 237 CidHash hEnt;
233 Store *pStore;
234 Calc *pCalc; 238 Calc *pCalc;
239 Store *pStore;
235 }; 240 };
236}; 241};
237 242