]> git.sur5r.net Git - openldap/blob - servers/slapd/back-bdb/external.h
comment cleanup
[openldap] / servers / slapd / back-bdb / external.h
1 /* $OpenLDAP$ */
2 /*
3  * Copyright 2000-2003 The OpenLDAP Foundation, All Rights Reserved.
4  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5  */
6
7 #ifndef _BDB_EXTERNAL_H
8 #define _BDB_EXTERNAL_H
9
10 LDAP_BEGIN_DECL
11
12 #ifndef BDB_SYMBOL
13 #ifdef BDB_HIER
14 #define BDB_SYMBOL(x)   LDAP_CONCAT(hdb_,x)
15 #else
16 #define BDB_SYMBOL(x)   LDAP_CONCAT(bdb_,x)
17 #endif
18 #endif
19
20 #define bdb_initialize                          BDB_SYMBOL(initialize)
21 #define bdb_db_config                           BDB_SYMBOL(db_config)
22 #define bdb_add                                         BDB_SYMBOL(add)
23 #define bdb_bind                                        BDB_SYMBOL(bind)
24 #define bdb_compare                                     BDB_SYMBOL(compare)
25 #define bdb_delete                                      BDB_SYMBOL(delete)
26 #define bdb_modify                                      BDB_SYMBOL(modify)
27 #define bdb_modrdn                                      BDB_SYMBOL(modrdn)
28 #define bdb_search                                      BDB_SYMBOL(search)
29 #define bdb_extended                            BDB_SYMBOL(extended)
30 #define bdb_referrals                           BDB_SYMBOL(referrals)
31 #define bdb_operational                         BDB_SYMBOL(operational)
32 #define bdb_hasSubordinates                     BDB_SYMBOL(hasSubordinates)
33 #define bdb_tool_entry_open                     BDB_SYMBOL(tool_entry_open)
34 #define bdb_tool_entry_close            BDB_SYMBOL(tool_entry_close)
35 #define bdb_tool_entry_next                     BDB_SYMBOL(tool_entry_next)
36 #define bdb_tool_entry_get                      BDB_SYMBOL(tool_entry_get)
37 #define bdb_tool_entry_put                      BDB_SYMBOL(tool_entry_put)
38 #define bdb_tool_entry_reindex          BDB_SYMBOL(tool_entry_reindex)
39
40 extern BI_init  bdb_initialize;
41
42 extern BI_db_config     bdb_db_config;
43
44 extern BI_op_add        bdb_add;
45
46 extern BI_op_bind       bdb_bind;
47
48 extern BI_op_compare    bdb_compare;
49
50 extern BI_op_delete     bdb_delete;
51
52 extern BI_op_modify     bdb_modify;
53
54 extern BI_op_modrdn     bdb_modrdn;
55
56 extern BI_op_search     bdb_search;
57
58 extern BI_op_extended   bdb_extended;
59
60 extern BI_chk_referrals bdb_referrals;
61
62 extern BI_operational   bdb_operational;
63
64 extern BI_has_subordinates bdb_hasSubordinates;
65
66 /* tools.c */
67 extern BI_tool_entry_open       bdb_tool_entry_open;
68 extern BI_tool_entry_close      bdb_tool_entry_close;
69 extern BI_tool_entry_next       bdb_tool_entry_next;
70 extern BI_tool_entry_get        bdb_tool_entry_get;
71 extern BI_tool_entry_put        bdb_tool_entry_put;
72 extern BI_tool_entry_reindex    bdb_tool_entry_reindex;
73
74
75
76 LDAP_END_DECL
77
78 #endif /* _BDB_EXTERNAL_H */
79