Annotation of 43BSDReno/contrib/isode-beta/quipu/sys_init.c, revision 1.1.1.1

1.1       root        1: /* sys_init.c - System tailoring initialisation */
                      2: 
                      3: #ifndef lint
                      4: static char *rcsid = "$Header: /f/osi/quipu/RCS/sys_init.c,v 7.0 89/11/23 22:18:07 mrose Rel $";
                      5: #endif
                      6: 
                      7: /*
                      8:  * $Header: /f/osi/quipu/RCS/sys_init.c,v 7.0 89/11/23 22:18:07 mrose Rel $
                      9:  *
                     10:  *
                     11:  * $Log:       sys_init.c,v $
                     12:  * Revision 7.0  89/11/23  22:18:07  mrose
                     13:  * Release 6.0
                     14:  * 
                     15:  */
                     16: 
                     17: /*
                     18:  *                                NOTICE
                     19:  *
                     20:  *    Acquisition, use, and distribution of this module and related
                     21:  *    materials are subject to the restrictions of a license agreement.
                     22:  *    Consult the Preface in the User's Manual for the full terms of
                     23:  *    this agreement.
                     24:  *
                     25:  */
                     26: 
                     27: 
                     28: #include <stdio.h>
                     29: #include "quipu/oid.h"
                     30: #include "tailor.h"
                     31: #include "logger.h"
                     32: 
                     33: extern char *dsaoidtable;
                     34: extern LLog * log_dsap;
                     35: extern time_t cache_timeout;
                     36: extern time_t retry_timeout;
                     37: extern time_t slave_timeout;
                     38: 
                     39: dsa_sys_init(acptr,avptr)
                     40: int *acptr;
                     41: char *** avptr;
                     42: {
                     43: char *name;
                     44: char **ptr;
                     45: int cnt;
                     46: extern int parse_line;
                     47: extern char allow_crypt;
                     48: 
                     49:        parse_line = 0;         /* stop 'line 1:' being printed in tailor file errors */
                     50:        allow_crypt = 1;
                     51: 
                     52:        name = **avptr;
                     53: 
                     54:        DLOG (log_dsap,LLOG_TRACE,("Initialisation"));
                     55: 
                     56:        cnt = *acptr;
                     57:        ptr = *avptr;
                     58:        dsa_tai_args (acptr,avptr);
                     59: 
                     60:        if (dsa_tai_init(name) != OK)
                     61:                fatal (-43,"Tailoring failed");
                     62: 
                     63:        dsa_tai_args (&cnt,&ptr);    /* second call IS needed !!! */
                     64: 
                     65:        DLOG (log_dsap,LLOG_TRACE,("Loading oid table (%s)",dsaoidtable));
                     66: 
                     67:        load_oid_table (dsaoidtable);
                     68: 
                     69:        if (retry_timeout == (time_t)0)
                     70:                retry_timeout = cache_timeout;
                     71: 
                     72:        if (slave_timeout == (time_t)0)
                     73:                slave_timeout = cache_timeout;
                     74: 
                     75:        DLOG (log_dsap,LLOG_TRACE,("*** Starting ***"));
                     76: 
                     77: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.