Commit | Line | Data |
---|---|---|
9e8e5516 C |
1 | #include "quipu/util.h" |
2 | #include "quipu/entry.h" | |
3 | #include "psap.h" | |
4 | ||
5 | LLog * log_dsap; | |
6 | #ifndef NO_STATS | |
7 | LLog * log_stat; | |
8 | #endif | |
9 | ||
10 | main () | |
11 | { | |
12 | extern IFP unrav_fn; | |
13 | extern IFP schema_fn; | |
14 | int real_unravel_attribute (); | |
15 | int real_check_schema (); | |
16 | extern PS opt; | |
17 | extern 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 | ||
40 | int refreshing = FALSE; | |
41 | ||
42 | shadow_entry() | |
43 | {;} | |
44 | ||
45 |