Switch to unified view
a | b/upmpd/ohmetacache.hxx | ||
---|---|---|---|
1 | #ifndef _OHMETACACHE_H_X_INCLUDED_ |
||
2 | #define _OHMETACACHE_H_X_INCLUDED_ |
||
3 | |||
4 | #include <string> |
||
5 | #include <unordered_map> |
||
6 | |||
7 | typedef std::unordered_map<std::string, std::string> mcache_type; |
||
8 | |||
9 | /** |
||
10 | * Saving and restoring the metadata cache to/from disk |
||
11 | */ |
||
12 | extern bool dmcacheSave(const char *fn, const mcache_type& cache); |
||
13 | extern bool dmcacheRestore(const char *fn, mcache_type& cache); |
||
14 | |||
15 | #endif /* _OHMETACACHE_H_X_INCLUDED_ */ |