Lines Matching refs:wdb
102 void tcwdbdel(TCWDB *wdb);
117 int tcwdbecode(TCWDB *wdb);
130 bool tcwdbtune(TCWDB *wdb, int64_t etnum, uint8_t opts);
141 bool tcwdbsetcache(TCWDB *wdb, int64_t icsiz, int32_t lcnum);
149 bool tcwdbsetfwmmax(TCWDB *wdb, uint32_t fwmmax);
162 bool tcwdbopen(TCWDB *wdb, const char *path, int omode);
170 bool tcwdbclose(TCWDB *wdb);
179 bool tcwdbput(TCWDB *wdb, int64_t id, const TCLIST *words);
189 bool tcwdbput2(TCWDB *wdb, int64_t id, const char *text, const char *delims);
198 bool tcwdbout(TCWDB *wdb, int64_t id, const TCLIST *words);
208 bool tcwdbout2(TCWDB *wdb, int64_t id, const char *text, const char *delims);
220 uint64_t *tcwdbsearch(TCWDB *wdb, const char *word, int *np);
227 bool tcwdbsync(TCWDB *wdb);
235 bool tcwdboptimize(TCWDB *wdb);
241 bool tcwdbvanish(TCWDB *wdb);
253 bool tcwdbcopy(TCWDB *wdb, const char *path);
260 const char *tcwdbpath(TCWDB *wdb);
267 uint64_t tcwdbtnum(TCWDB *wdb);
274 uint64_t tcwdbfsiz(TCWDB *wdb);
286 void tcwdbsetdbgfd(TCWDB *wdb, int fd);
292 int tcwdbdbgfd(TCWDB *wdb);
300 bool tcwdbmemsync(TCWDB *wdb, int level);
306 bool tcwdbcacheclear(TCWDB *wdb);
313 uint64_t tcwdbinode(TCWDB *wdb);
320 time_t tcwdbmtime(TCWDB *wdb);
326 uint8_t tcwdbopts(TCWDB *wdb);
332 uint32_t tcwdbfwmmax(TCWDB *wdb);
338 uint32_t tcwdbcnum(TCWDB *wdb);
349 void tcwdbsetsynccb(TCWDB *wdb, bool (*cb)(int, int, const char *, void *), void *opq);
359 void tcwdbsetaddcb(TCWDB *wdb, bool (*cb)(const char *, void *), void *opq);