|
a/src/utils/circache.h |
|
b/src/utils/circache.h |
|
... |
|
... |
63 |
virtual bool create(off_t maxsize, int flags);
|
63 |
virtual bool create(off_t maxsize, int flags);
|
64 |
|
64 |
|
65 |
enum OpMode {CC_OPREAD, CC_OPWRITE};
|
65 |
enum OpMode {CC_OPREAD, CC_OPWRITE};
|
66 |
virtual bool open(OpMode mode);
|
66 |
virtual bool open(OpMode mode);
|
67 |
|
67 |
|
|
|
68 |
virtual std::string getpath();
|
|
|
69 |
|
68 |
virtual bool get(const string& udi, string& dic, string& data,
|
70 |
virtual bool get(const string& udi, string& dic, string& data,
|
69 |
int instance = -1);
|
71 |
int instance = -1);
|
70 |
|
72 |
|
71 |
// Note: the dicp MUST have an udi entry
|
73 |
// Note: the dicp MUST have an udi entry
|
72 |
enum PutFlags {NoCompHint = 1};
|
74 |
enum PutFlags {NoCompHint = 1};
|