/* conf.c - DSAP Configuration */
static char *rcsid
= "$Header: /f/osi/dsap/common/RCS/conf.c,v 7.3 91/02/22 09:18:50 mrose Interim $";
* $Header: /f/osi/dsap/common/RCS/conf.c,v 7.3 91/02/22 09:18:50 mrose Interim $
* Revision 7.3 91/02/22 09:18:50 mrose
* Revision 7.2 90/10/17 11:41:31 mrose
* Revision 7.1 90/07/09 14:34:12 mrose
* Revision 7.0 89/11/23 21:47:42 mrose
* 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
char *oidtable
= "oidtable";
char *tailfile
= "dsaptailor";
char *isotailor
= NULLCP
;
char *dsa_address
= NULLCP
;
char *local_dit
= NULLCP
; /* the part of the tree local to the users */
int dsap_id
, /* global last id sent */
dsap_ad
; /* global association descriptor */
time_t cache_timeout
= 21600; /* Keep cache entries for 6 hours */
LLOG_FATAL
| LLOG_EXCEPTIONS
,
LLOGZER
| LLOGCRT
| LLOGCLS
,
LLog
*log_dsap
= &_ldsap_log
;
LLog
*log_stat
= &lstat_log
;
int oidformat
= 1; /* oid format, 1=part, 2=full, 3=numeric */
/* a quick def incase quipu/malloc.c is not compiled in !!! */
char *dsaoidtable
= "oidtable";
char *dsatailfile
= "quiputailor";
char *treedir
= "quipu-db";
int no_dsp_chain
= FALSE
;
char startup_update
= FALSE
;
int search_level
= 2; /* do NOT allow country level searching */
int read_only
= FALSE
; /* Prevent DIT modification */
int admin_size
= 100; /* 100 entries */
time_t admin_time
= 120; /* don't spend more than 2 minutes on a task */
time_t conn_timeout
= 300; /* don't hold an unused connection open for more than 5 minutes */
time_t nsap_timeout
= 45; /* after 45 seconds assume nsap has failed */
time_t slave_timeout
= 0; /* Update slaves every 'cache_time' seconds */
time_t retry_timeout
= 0; /* Test DSA for reliability after 'cache_time' seconds */
unsigned watchdog_time
= 5 * 60; /* allow lower layers 5 minutes per *async* operation */
unsigned watchdog_delta
= 5; /* allow 5 second for timeout to propagate */