1 /* $Id: trash.h 4267 2001-01-04 06:02:02Z rra $
3 ** trashing articles method header
10 #include "interface.h"
12 bool trash_init(SMATTRIBUTE *attr);
13 TOKEN trash_store(const ARTHANDLE article, const STORAGECLASS class);
14 ARTHANDLE *trash_retrieve(const TOKEN token, const RETRTYPE amount);
15 ARTHANDLE *trash_next(const ARTHANDLE *article, const RETRTYPE amount);
16 void trash_freearticle(ARTHANDLE *article);
17 bool trash_cancel(TOKEN token);
18 bool trash_ctl(PROBETYPE type, TOKEN *token, void *value);
19 bool trash_flushcacheddata(FLUSHTYPE type);
20 void trash_printfiles(FILE *file, TOKEN token, char **xref, int ngroups);
21 void trash_shutdown(void);