Go to the documentation of this file. 1 #ifndef __SUT_CACHE_H__
2 #define __SUT_CACHE_H__
101 int Init(
int capacity = 100,
bool lock = 1);
102 int Reset(
int newsz = -1,
bool lock = 1);
103 int Load(
const char *pfname);
104 int Flush(
const char *pfname = 0);
106 int Rehash(
bool force = 0,
bool lock = 1);
114 bool Remove(
const char *ID,
int opt = 1);
115 int Trim(
int lifet = 0);
118 void Dump(
const char *msg= 0);