/*  $Id: cnfs.h,v 1.3 1998/03/27 04:08:31 scrappy Exp $
**
**  cyclic news file system header
*/

#ifndef __CNFS_H__
#define __CNFS_H__

BOOL cnfs_init(BOOL *selfexpire);
TOKEN cnfs_store(const ARTHANDLE article, const STORAGECLASS class);
ARTHANDLE *cnfs_retrieve(const TOKEN token, RETRTYPE amount);
ARTHANDLE *cnfs_next(const ARTHANDLE *article, RETRTYPE amount);
void cnfs_freearticle(ARTHANDLE *article);
BOOL cnfs_cancel(TOKEN token);
void cnfs_shutdown(void);

#endif
