diff src/configfile.h @ 287:01755687c565 noffle

[svn] * src/configfile.c: Change snprintf() to Utl_cpyStr(); * src/configfile.c,src/fetch.c,src/fetchlist.c,src/protocol.c, src/server.c: Replace strcpy() with Utl_cpyStr() where appropriate. See Debian bug 168128. * src/client.c. Replace strcpy() here too. * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user and noffle-group configs. * src/control.c,src/configfile.c,src/noffle.c: Replace [s]scanf("%s") with [s]scanf(MAXCHAR_FMT).
author bears
date Fri, 10 Jan 2003 23:11:43 +0000
parents 76460d98b2fb
children b0ee77fa24d4
line wrap: on
line diff
--- a/src/configfile.h	Fri Jan 10 23:08:17 2003 +0000
+++ b/src/configfile.h	Fri Jan 10 23:11:43 2003 +0000
@@ -3,7 +3,7 @@
 
   Common declarations and handling of the configuration file.
 
-  $Id: configfile.h 314 2001-10-30 13:16:40Z bears $
+  $Id: configfile.h 419 2003-01-10 23:11:43Z bears $
 */
 
 #ifndef CONFIGFILE_H
@@ -47,6 +47,8 @@
 Bool Cfg_servIsPreferential( const char *name1, const char *name2 );
 void Cfg_authInfo( const char *name, Str user, Str pass );
 
+Bool Cfg_needClientAuth( void );
+
 /* Return expire period for named group. */
 int Cfg_expire( const char *grp );
 
@@ -68,6 +70,12 @@
 /* Return default Organization: contents */
 const char * Cfg_organization( void );
 
+/* Return the user Noffle should run as */
+const char * Cfg_noffleUser( void );
+
+/* Return the group Noffle should run as */
+const char * Cfg_noffleGroup( void );
+
 void Cfg_read( void );
 
 /* Get a new iterator for get group patterns for the given server */