chiark / gitweb /
update debian version
[inn-innduct.git] / storage / trash / trash.h
1 /*  $Id: trash.h 4267 2001-01-04 06:02:02Z rra $
2 **
3 **  trashing articles method header
4 */
5
6 #ifndef __TRASH_H__
7 #define __TRASH_H__
8
9 #include "config.h"
10 #include "interface.h"
11
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);
22
23 #endif