|
|
1.1 root 1: /* conf.c - DUA Configuration */
2:
3: #ifndef lint
4: static char *rcsid = "$Header: /f/osi/dsap/common/RCS/conf.c,v 7.1 90/07/09 14:34:12 mrose Exp $";
5: #endif
6:
7: /*
8: * $Header: /f/osi/dsap/common/RCS/conf.c,v 7.1 90/07/09 14:34:12 mrose Exp $
9: *
10: *
11: * $Log: conf.c,v $
12: * Revision 7.1 90/07/09 14:34:12 mrose
13: * sync
14: *
15: * Revision 7.0 89/11/23 21:47:42 mrose
16: * Release 6.0
17: *
18: */
19:
20: /*
21: * NOTICE
22: *
23: * Acquisition, use, and distribution of this module and related
24: * materials are subject to the restrictions of a license agreement.
25: * Consult the Preface in the User's Manual for the full terms of
26: * this agreement.
27: *
28: */
29:
30:
31: /* LINTLIBRARY */
32:
33: #include "quipu/util.h"
34: #include "tailor.h"
35:
36: int sizelimit = 20;
37: int timelimit = 30;
38:
39: char *oidtable = "oidtable";
40: char *tailfile = "dsaptailor";
41: char *isotailor = NULLCP;
42:
43: char *dsa_address = NULLCP;
44: char *myname = NULLCP;
45:
46: char *local_dit= NULLCP; /* the part of the tree local to the users */
47: char dishinit = FALSE;
48:
49: int dsap_id, /* global last id sent */
50: dsap_ad; /* global association descriptor */
51:
52: time_t cache_timeout = 21600; /* Keep cache entries for 6 hours */
53:
54: static LLog _ldsap_log =
55: {
56: "dsap.log",
57: NULLCP,
58: NULLCP,
59: LLOG_FATAL | LLOG_EXCEPTIONS,
60: LLOG_NONE,
61: 50,
62: LLOGZER | LLOGCRT | LLOGCLS,
63: NOTOK
64: };
65:
66: LLog *log_dsap = &_ldsap_log;
67:
68: #ifndef NO_STATS
69:
70: static LLog lstat_log =
71: {
72: "quipu.log",
73: NULLCP,
74: NULLCP,
75: LLOG_ALL,
76: LLOG_NONE,
77: -1,
78: LLOGCLS | LLOGCRT | LLOGZER,
79: NOTOK
80: };
81:
82: LLog *log_stat = &lstat_log;
83:
84: #endif
85:
86: int oidformat = 1; /* oid format, 1=part, 2=full, 3=numeric */
87:
88: /* a quick def incase quipu/malloc.c is not compiled in !!! */
89: unsigned mem_heap = 0;
90:
91:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.