Mercurial > noffle
comparison src/configfile.c @ 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 | bcd7f11b1504 |
comparison
equal
deleted
inserted
replaced
390:2ad4c1c97734 | 391:6cb66f5a0479 |
---|---|
4 The following macros must be set, when compiling this file: | 4 The following macros must be set, when compiling this file: |
5 CONFIGFILE | 5 CONFIGFILE |
6 SPOOLDIR | 6 SPOOLDIR |
7 VERSION | 7 VERSION |
8 | 8 |
9 $Id: configfile.c 495 2003-03-24 23:32:48Z bears $ | 9 $Id: configfile.c 533 2003-05-23 09:33:10Z bears $ |
10 */ | 10 */ |
11 | 11 |
12 #if HAVE_CONFIG_H | 12 #if HAVE_CONFIG_H |
13 #include <config.h> | 13 #include <config.h> |
14 #endif | 14 #endif |
157 const char * Cfg_pathHeader( void ) { return config.pathHeader; } | 157 const char * Cfg_pathHeader( void ) { return config.pathHeader; } |
158 const char * Cfg_fromDomain( void ) { return config.fromDomain; } | 158 const char * Cfg_fromDomain( void ) { return config.fromDomain; } |
159 const char * Cfg_organization( void ) { return config.organization; } | 159 const char * Cfg_organization( void ) { return config.organization; } |
160 const char * Cfg_noffleUser( void ) { return config.noffleUser; } | 160 const char * Cfg_noffleUser( void ) { return config.noffleUser; } |
161 const char * Cfg_noffleGroup( void ) { return config.noffleGroup; } | 161 const char * Cfg_noffleGroup( void ) { return config.noffleGroup; } |
162 | |
163 void Cfg_setClientAuth( Bool needsAuth ) | |
164 { | |
165 config.clientAuth = needsAuth; | |
166 } | |
162 | 167 |
163 void | 168 void |
164 Cfg_beginServEnum( void ) | 169 Cfg_beginServEnum( void ) |
165 { | 170 { |
166 config.servIdx = 0; | 171 config.servIdx = 0; |