1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
/*
* nasconf.c - init/configure some things...
*
* $Id: nasconf.c 225 2006-08-30 00:08:16Z jon $
*
* Jon Trulson, 9/19/1999
*/
#include "misc.h"
/* the NasConfig structure is
instantiated from within
globals.c */
#include "nasconf.h"
/* Initialize the global config items */
void
diaInitGlobalConfig(void)
{
/* init all the default values */
NasConfig.DoDebug = FALSE;
NasConfig.DoVerbose = FALSE;
NasConfig.DoDeviceRelease = TRUE;
NasConfig.DoKeepMixer = TRUE;
NasConfig.DoDaemon = FALSE;
NasConfig.LocalOnly = FALSE; /* allow only local connections */
NasConfig.AllowAny = FALSE; /* allow any host to connect w/o
authentication */
/* that be it */
return;
}
|