chiark / gitweb /
debugging for thing that crashed
[inn-innduct.git] / storage / tradspool / tradspool.h
1 /*
2 ** $Id: tradspool.h 4269 2001-01-04 06:04:10Z rra $
3 ** tradspool -- storage manager for traditional spool format.
4 */
5
6 #ifndef __TRADSPOOL_H__
7 #define __TRADSPOOL_H__
8
9 #include "config.h"
10 #include "interface.h"
11
12 bool tradspool_init(SMATTRIBUTE *attr);
13 TOKEN tradspool_store(const ARTHANDLE article, const STORAGECLASS class);
14 ARTHANDLE *tradspool_retrieve(const TOKEN token, const RETRTYPE amount);
15 ARTHANDLE *tradspool_next(const ARTHANDLE *article, const RETRTYPE amount);
16 void tradspool_freearticle(ARTHANDLE *article);
17 bool tradspool_cancel(TOKEN token);
18 bool tradspool_ctl(PROBETYPE type, TOKEN *token, void *value);
19 bool tradspool_flushcacheddata(FLUSHTYPE type);
20 void tradspool_printfiles(FILE *file, TOKEN token, char **xref, int ngroups);
21 void tradspool_shutdown(void);
22
23 #endif