1 /* $Id: timecaf.h 4266 2001-01-04 06:01:36Z rra $
3 ** timecaf -- like the timehash storage method (and heavily inspired
4 ** by it), but uses the CAF library to store multiple articles in a
12 #include "interface.h"
14 bool timecaf_init(SMATTRIBUTE *attr);
15 TOKEN timecaf_store(const ARTHANDLE article, const STORAGECLASS class);
16 ARTHANDLE *timecaf_retrieve(const TOKEN token, const RETRTYPE amount);
17 ARTHANDLE *timecaf_next(const ARTHANDLE *article, const RETRTYPE amount);
18 void timecaf_freearticle(ARTHANDLE *article);
19 bool timecaf_cancel(TOKEN token);
20 bool timecaf_ctl(PROBETYPE type, TOKEN *token, void *value);
21 bool timecaf_flushcacheddata(FLUSHTYPE type);
22 void timecaf_printfiles(FILE *file, TOKEN token, char **xref, int ngroups);
23 void timecaf_shutdown(void);