chiark / gitweb /
debugging for thing that crashed
[innduct.git] / storage / cnfs / cnfs.h
1 /*  $Id: cnfs.h 4266 2001-01-04 06:01:36Z rra $
2 **
3 **  cyclic news file system header
4 */
5
6 #ifndef __CNFS_H__
7 #define __CNFS_H__
8
9 bool cnfs_init(SMATTRIBUTE *attr);
10 TOKEN cnfs_store(const ARTHANDLE article, const STORAGECLASS class);
11 ARTHANDLE *cnfs_retrieve(const TOKEN token, const RETRTYPE amount);
12 ARTHANDLE *cnfs_next(const ARTHANDLE *article, const RETRTYPE amount);
13 void cnfs_freearticle(ARTHANDLE *article);
14 bool cnfs_cancel(TOKEN token);
15 bool cnfs_ctl(PROBETYPE type, TOKEN *token, void *value);
16 bool cnfs_flushcacheddata(FLUSHTYPE type);
17 void cnfs_printfiles(FILE *file, TOKEN token, char **xref, int ngroups);
18 void cnfs_shutdown(void);
19
20 #endif