Start development on 386BSD 0.0
[unix-history] / .ref-BSD-4_3_Net_2 / usr / src / contrib / isode / quipu / testedb.c
CommitLineData
9e8e5516
C
1#include "quipu/util.h"
2#include "quipu/entry.h"
3#include "psap.h"
4
5LLog * log_dsap;
6#ifndef NO_STATS
7LLog * log_stat;
8#endif
9
10main ()
11{
12extern IFP unrav_fn;
13extern IFP schema_fn;
14int real_unravel_attribute ();
15int real_check_schema ();
16extern PS opt;
17extern char dsa_mode;
18
19 dsa_mode = TRUE;
20
21 unrav_fn = (IFP) real_unravel_attribute;
22 schema_fn = (IFP) real_check_schema;
23
24 quipu_syntaxes();
25 load_oid_table ("oidtable");
26 check_dsa_known_oids ();
27
28 (void) ll_close (log_dsap);
29 ll_dbinit (log_dsap, "testedb");
30 log_dsap -> ll_events = LLOG_FATAL | LLOG_EXCEPTIONS;
31
32 if (getentry_block (NULLENTRY,"./EDB") != NULL)
33 (void) printf ("EDB ok\n"), exit (0);
34
35 exit (1);
36}
37
38/* stubs for unused external synbols */
39
40int refreshing = FALSE;
41
42shadow_entry()
43{;}
44
45