File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / quipu / testedb.c
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

#include "quipu/util.h"
#include "quipu/entry.h"
#include "psap.h"

LLog * log_dsap;
#ifndef	NO_STATS
LLog * log_stat;
#endif

main ()
{
extern IFP unrav_fn;
extern IFP schema_fn;
int real_unravel_attribute ();
int real_check_schema ();
extern PS opt;
extern char allow_crypt;

	allow_crypt = 1;

	unrav_fn = (IFP) real_unravel_attribute;
	schema_fn = (IFP) real_check_schema;

	quipu_syntaxes();
	load_oid_table ("oidtable");
	check_dsa_known_oids ();

	(void) ll_close (log_dsap);
	ll_dbinit (log_dsap, "testedb");
	log_dsap -> ll_events = LLOG_FATAL | LLOG_EXCEPTIONS;

	if (getentry_block_aux (NULLENTRY,"(stdin)",stdin) != NULL)
		printf ("EDB ok\n"), exit (0);

	exit (1);
}

unix.superglobalmegacorp.com

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