comparison fetchlist.h @ 0:04124a4423d4 noffle

[svn] Initial revision
author enz
date Tue, 04 Jan 2000 11:35:42 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:04124a4423d4
1 /*
2 fetchlist.h
3
4 List of groups that are to be fetched presently.
5
6 $Id: fetchlist.h 3 2000-01-04 11:35:42Z enz $
7 */
8
9 #ifndef FETCHLIST_H
10 #define FETCHLIST_H
11
12 #include "common.h"
13
14 typedef enum { FULL, THREAD, OVER } FetchMode;
15
16 void
17 Fetchlist_read( void );
18
19 /* Invalidates any indices (list is sorted by name before saving) */
20 Bool
21 Fetchlist_write( void );
22
23 int
24 Fetchlist_size( void );
25
26 Bool
27 Fetchlist_contains( const char *name );
28
29 /* Get element number index. */
30 Bool
31 Fetchlist_element( const char **name, FetchMode *mode, int index );
32
33 /* Add entry. Invalidates any indices. Returns TRUE if new entry, FALSE if
34 entry was overwritten. */
35 Bool
36 Fetchlist_add( const char *name, FetchMode mode );
37
38 /* Remove entry. Invalidates any indices. Returns FALSE if not found. */
39 Bool
40 Fetchlist_remove( const char *name );
41
42 #endif