1 /* $Id: timehash.h 4268 2001-01-04 06:02:50Z rra $
3 ** timehash based storing method header
10 #include "interface.h"
12 bool timehash_init(SMATTRIBUTE *attr);
13 TOKEN timehash_store(const ARTHANDLE article, const STORAGECLASS class);
14 ARTHANDLE *timehash_retrieve(const TOKEN token, const RETRTYPE amount);
15 ARTHANDLE *timehash_next(const ARTHANDLE *article, const RETRTYPE amount);
16 void timehash_freearticle(ARTHANDLE *article);
17 bool timehash_cancel(TOKEN token);
18 bool timehash_ctl(PROBETYPE type, TOKEN *token, void *value);
19 bool timehash_flushcacheddata(FLUSHTYPE type);
20 void timehash_printfiles(FILE *file, TOKEN token, char **xref, int ngroups);
21 void timehash_shutdown(void);