chiark / gitweb /
debugging for thing that crashed
[innduct.git] / storage / timehash / timehash.h
1 /*  $Id: timehash.h 4268 2001-01-04 06:02:50Z rra $
2 **
3 **  timehash based storing method header
4 */
5
6 #ifndef __TIMEHASH_H__
7 #define __TIMEHASH_H__
8
9 #include "config.h"
10 #include "interface.h"
11
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);
22
23 #endif