Mercurial > noffle
view fetchlist.h @ 38:8e972daaeab9 noffle
[svn] Applied patch from Jim Hague:
- Forget cached group info when group database closed.
- Added list of 'forbidden' newsgroup specs.
- Fixed problem with article numbering if the overview file empties.
- Changed %i to %d in sscanfs (%i interprets leading zeros as octal numbers)
- New groups now always start numbering at article 1.
- Record newsgroup posting status. Enforce it at posting time.
Added --modify
- Added group deletion.
- Added wildmat code taken from INN
author | enz |
---|---|
date | Fri, 05 May 2000 08:23:15 +0100 |
parents | 04124a4423d4 |
children |
line wrap: on
line source
/* fetchlist.h List of groups that are to be fetched presently. $Id: fetchlist.h 3 2000-01-04 11:35:42Z enz $ */ #ifndef FETCHLIST_H #define FETCHLIST_H #include "common.h" typedef enum { FULL, THREAD, OVER } FetchMode; void Fetchlist_read( void ); /* Invalidates any indices (list is sorted by name before saving) */ Bool Fetchlist_write( void ); int Fetchlist_size( void ); Bool Fetchlist_contains( const char *name ); /* Get element number index. */ Bool Fetchlist_element( const char **name, FetchMode *mode, int index ); /* Add entry. Invalidates any indices. Returns TRUE if new entry, FALSE if entry was overwritten. */ Bool Fetchlist_add( const char *name, FetchMode mode ); /* Remove entry. Invalidates any indices. Returns FALSE if not found. */ Bool Fetchlist_remove( const char *name ); #endif