diff 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
line wrap: on
line diff
--- a/src/configfile.h	Thu May 22 10:04:38 2003 +0100
+++ b/src/configfile.h	Fri May 23 10:33:10 2003 +0100
@@ -3,7 +3,7 @@
 
   Common declarations and handling of the configuration file.
 
-  $Id: configfile.h 495 2003-03-24 23:32:48Z bears $
+  $Id: configfile.h 533 2003-05-23 09:33:10Z bears $
 */
 
 #ifndef CONFIGFILE_H
@@ -49,6 +49,7 @@
 void Cfg_authInfo( const char *name, Str user, Str pass );
 
 Bool Cfg_needClientAuth( void );
+void Cfg_setClientAuth( Bool needsAuth );
 
 /* Return expire period for named group. */
 int Cfg_expire( const char *grp );