comparison src/configfile.h @ 391:6cb66f5a0479 noffle

[svn] * docs/noffle.1,src/configure.h,src/configfile.c,src/noffle.c: Add optional "auth" parameter to '--server' option. This turns on client authorisation regardless of the setting of authenticate-client. Useful if you want the same Noffle to authenticate or not depending on what/how it gets invoked.
author bears
date Fri, 23 May 2003 10:33:10 +0100
parents b0ee77fa24d4
children 372f8b55506e
comparison
equal deleted inserted replaced
390:2ad4c1c97734 391:6cb66f5a0479
1 /* 1 /*
2 configfile.h 2 configfile.h
3 3
4 Common declarations and handling of the configuration file. 4 Common declarations and handling of the configuration file.
5 5
6 $Id: configfile.h 495 2003-03-24 23:32:48Z bears $ 6 $Id: configfile.h 533 2003-05-23 09:33:10Z bears $
7 */ 7 */
8 8
9 #ifndef CONFIGFILE_H 9 #ifndef CONFIGFILE_H
10 #define CONFIGFILE_H 10 #define CONFIGFILE_H
11 11
47 to unknown servers. */ 47 to unknown servers. */
48 Bool Cfg_servIsPreferential( const char *name1, const char *name2 ); 48 Bool Cfg_servIsPreferential( const char *name1, const char *name2 );
49 void Cfg_authInfo( const char *name, Str user, Str pass ); 49 void Cfg_authInfo( const char *name, Str user, Str pass );
50 50
51 Bool Cfg_needClientAuth( void ); 51 Bool Cfg_needClientAuth( void );
52 void Cfg_setClientAuth( Bool needsAuth );
52 53
53 /* Return expire period for named group. */ 54 /* Return expire period for named group. */
54 int Cfg_expire( const char *grp ); 55 int Cfg_expire( const char *grp );
55 56
56 /* Return default expire days. */ 57 /* Return default expire days. */