/* sys_init.c - System tailoring initialisation */
static char *rcsid
= "$Header: /f/osi/dsap/common/RCS/sys_init.c,v 7.1 91/02/22 09:20:24 mrose Interim $";
* $Header: /f/osi/dsap/common/RCS/sys_init.c,v 7.1 91/02/22 09:20:24 mrose Interim $
* Revision 7.1 91/02/22 09:20:24 mrose
* Revision 7.0 89/11/23 21:47:47 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
extern char *dsa_address
;
parse_line
= 0; /* stop 'line 1:' being printed in tailor file errors */
if (acptr
== (int *) NULL
)
isodetailor (name
, 1); /* must be called before any isodefile() */
log_dsap
-> ll_file
= strdup ("./dsap.log");
ll_hdinit (log_dsap
, name
);
DLOG (log_dsap
,LLOG_TRACE
,("Initialisation"));
if (acptr
!= (int *) NULL
) {
(void) tai_args (acptr
,avptr
);
if (dsap_tai_init() != OK
)
fatal (-1,"Tailor failure");
if (dsa_address
== NULLCP
)
fatal (-1, "dsa_address not set");
if (acptr
!= (int *)NULL
)
(void) tai_args (&cnt
,&ptr
); /* second call IS needed */
(void) tai_args (acptr
,avptr
);
LLOG (log_dsap
,LLOG_NOTICE
,("Loading oid table (%s)",oidtable
));
load_oid_table (oidtable
);
DLOG (log_dsap
,LLOG_TRACE
,("*** Starting ***"));