annotate config.h @ 7:29a576bc379a noffle

[svn] Makefile for version 20000211
author enz
date Fri, 11 Feb 2000 07:51:41 +0000
parents 04124a4423d4
children 8e972daaeab9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
1 /*
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
2 config.h
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
3
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
4 Common declarations and handling of the configuration file.
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
5
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
6 $Id: config.h 3 2000-01-04 11:35:42Z enz $
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
7 */
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
8
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
9 #ifndef CONFIG_H
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
10 #define CONFIG_H
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
11
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
12 #include "common.h"
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
13
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
14 const char * Cfg_spoolDir( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
15 const char * Cfg_version( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
16
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
17 int Cfg_maxFetch( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
18 int Cfg_autoUnsubscribeDays( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
19 int Cfg_threadFollowTime( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
20 int Cfg_connectTimeout( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
21 Bool Cfg_autoUnsubscribe( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
22 Bool Cfg_autoSubscribe( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
23 Bool Cfg_removeMsgId( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
24 Bool Cfg_replaceMsgId( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
25 const char * Cfg_autoSubscribeMode( void ); /* Can be: full, thread, over */
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
26 const char * Cfg_mailTo( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
27
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
28 /* Begin iteration through the server names */
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
29 void Cfg_beginServEnum( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
30
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
31 /* Save next server name in "name". Return TRUE if name has been was saved.
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
32 Return FALSE if there are no more server names. */
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
33 Bool Cfg_nextServ( Str name );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
34
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
35 Bool Cfg_servListContains( const char *name );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
36 /* Prefer server earlier in config file. Known servers are always preferential
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
37 to unknown servers. */
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
38 Bool Cfg_servIsPreferential( const char *name1, const char *name2 );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
39 void Cfg_authInfo( const char *name, Str user, Str pass );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
40
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
41 void Cfg_read( void );
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
42
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
43 #endif