File: nasconf.c

package info (click to toggle)
nas 1.9.4-9.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,644 kB
  • sloc: ansic: 52,144; makefile: 31,377; sh: 8,077; perl: 1,104; yacc: 252; cpp: 216; lex: 68
file content (32 lines) | stat: -rw-r--r-- 854 bytes parent folder | download | duplicates (9)
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;
}