/* conf.c - DUA Configuration */

#ifndef lint
static char *rcsid = "$Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/dsap/common/conf.c,v 1.1.1.1 2018/04/24 16:12:56 root Exp $";
#endif

/*
 * $Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/dsap/common/conf.c,v 1.1.1.1 2018/04/24 16:12:56 root Exp $
 *
 *
 * $Log: conf.c,v $
 * Revision 1.1.1.1  2018/04/24 16:12:56  root
 * BSD 4.3reno
 *
 * Revision 7.1  90/07/09  14:34:12  mrose
 * sync
 * 
 * Revision 7.0  89/11/23  21:47:42  mrose
 * Release 6.0
 * 
 */

/*
 *                                NOTICE
 *
 *    Acquisition, use, and distribution of this module and related
 *    materials are subject to the restrictions of a license agreement.
 *    Consult the Preface in the User's Manual for the full terms of
 *    this agreement.
 *
 */


/* LINTLIBRARY */

#include "quipu/util.h"
#include "tailor.h"

int     sizelimit = 20;
int	timelimit = 30;
	
char    *oidtable =  "oidtable";
char    *tailfile =  "dsaptailor";
char    *isotailor = NULLCP;

char    *dsa_address = NULLCP;
char    *myname = NULLCP;

char	*local_dit= NULLCP;	/* the part of the tree local to the users */
char 	dishinit = FALSE;

int     dsap_id,        /* global last id sent */
	dsap_ad;        /* global association descriptor */

time_t  cache_timeout = 21600;	/* Keep cache entries for 6 hours */

static  LLog    _ldsap_log =
{
	"dsap.log",
	NULLCP,
	NULLCP,
	LLOG_FATAL | LLOG_EXCEPTIONS,
	LLOG_NONE,
	50,
	LLOGZER | LLOGCRT | LLOGCLS,
	NOTOK
};

LLog    *log_dsap = &_ldsap_log;

#ifndef NO_STATS

static  LLog    lstat_log =
{
	"quipu.log",
	NULLCP,
	NULLCP,
	LLOG_ALL,
	LLOG_NONE,
	-1,
	LLOGCLS | LLOGCRT | LLOGZER,
	NOTOK
};

LLog    *log_stat = &lstat_log;

#endif

int     oidformat = 1;      /* oid format, 1=part, 2=full, 3=numeric */

/* a quick def incase quipu/malloc.c is not compiled in !!! */
unsigned mem_heap = 0;


