|
a/src/ohmetacache.hxx |
|
b/src/ohmetacache.hxx |
|
... |
|
... |
7 |
typedef std::unordered_map<std::string, std::string> mcache_type;
|
7 |
typedef std::unordered_map<std::string, std::string> mcache_type;
|
8 |
|
8 |
|
9 |
/**
|
9 |
/**
|
10 |
* Saving and restoring the metadata cache to/from disk
|
10 |
* Saving and restoring the metadata cache to/from disk
|
11 |
*/
|
11 |
*/
|
|
|
12 |
extern void dmcacheSetOpts(unsigned int slptime);
|
12 |
extern bool dmcacheSave(const std::string& fn, const mcache_type& cache);
|
13 |
extern bool dmcacheSave(const std::string& fn, const mcache_type& cache);
|
13 |
extern bool dmcacheRestore(const std::string& fn, mcache_type& cache);
|
14 |
extern bool dmcacheRestore(const std::string& fn, mcache_type& cache);
|
14 |
|
15 |
|
15 |
#endif /* _OHMETACACHE_H_X_INCLUDED_ */
|
16 |
#endif /* _OHMETACACHE_H_X_INCLUDED_ */
|