diff 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
line wrap: on
line diff
--- a/src/configfile.c	Thu May 22 10:04:38 2003 +0100
+++ b/src/configfile.c	Fri May 23 10:33:10 2003 +0100
@@ -6,7 +6,7 @@
     SPOOLDIR
     VERSION
 
-  $Id: configfile.c 495 2003-03-24 23:32:48Z bears $
+  $Id: configfile.c 533 2003-05-23 09:33:10Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -160,6 +160,11 @@
 const char * Cfg_noffleUser( void ) { return config.noffleUser; }
 const char * Cfg_noffleGroup( void ) { return config.noffleGroup; }
 
+void Cfg_setClientAuth( Bool needsAuth )
+{
+    config.clientAuth = needsAuth;
+}
+
 void
 Cfg_beginServEnum( void )
 {