2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 2000-2004 The OpenLDAP Foundation.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted only as authorized by the OpenLDAP
11 * A copy of this license is available in the file LICENSE in the
12 * top-level directory of the distribution or, alternatively, at
13 * <http://www.OpenLDAP.org/license.html>.
16 #ifndef _BDB_EXTERNAL_H
17 #define _BDB_EXTERNAL_H
23 #define BDB_SYMBOL(x) LDAP_CONCAT(hdb_,x)
25 #define BDB_SYMBOL(x) LDAP_CONCAT(bdb_,x)
29 #define bdb_initialize BDB_SYMBOL(initialize)
30 #define bdb_db_config BDB_SYMBOL(db_config)
31 #define bdb_add BDB_SYMBOL(add)
32 #define bdb_bind BDB_SYMBOL(bind)
33 #define bdb_compare BDB_SYMBOL(compare)
34 #define bdb_delete BDB_SYMBOL(delete)
35 #define bdb_modify BDB_SYMBOL(modify)
36 #define bdb_modrdn BDB_SYMBOL(modrdn)
37 #define bdb_search BDB_SYMBOL(search)
38 #define bdb_extended BDB_SYMBOL(extended)
39 #define bdb_referrals BDB_SYMBOL(referrals)
40 #define bdb_operational BDB_SYMBOL(operational)
41 #define bdb_hasSubordinates BDB_SYMBOL(hasSubordinates)
42 #define bdb_tool_entry_open BDB_SYMBOL(tool_entry_open)
43 #define bdb_tool_entry_close BDB_SYMBOL(tool_entry_close)
44 #define bdb_tool_entry_next BDB_SYMBOL(tool_entry_next)
45 #define bdb_tool_entry_get BDB_SYMBOL(tool_entry_get)
46 #define bdb_tool_entry_put BDB_SYMBOL(tool_entry_put)
47 #define bdb_tool_entry_reindex BDB_SYMBOL(tool_entry_reindex)
48 #define bdb_tool_dn2id_get BDB_SYMBOL(tool_dn2id_get)
49 #define bdb_tool_id2entry_get BDB_SYMBOL(tool_id2entry_get)
50 #define bdb_tool_entry_modify BDB_SYMBOL(tool_entry_modify)
52 extern BI_init bdb_initialize;
54 extern BI_db_config bdb_db_config;
56 extern BI_op_add bdb_add;
58 extern BI_op_bind bdb_bind;
60 extern BI_op_compare bdb_compare;
62 extern BI_op_delete bdb_delete;
64 extern BI_op_modify bdb_modify;
66 extern BI_op_modrdn bdb_modrdn;
68 extern BI_op_search bdb_search;
70 extern BI_op_extended bdb_extended;
72 extern BI_chk_referrals bdb_referrals;
74 extern BI_operational bdb_operational;
76 extern BI_has_subordinates bdb_hasSubordinates;
79 extern BI_tool_entry_open bdb_tool_entry_open;
80 extern BI_tool_entry_close bdb_tool_entry_close;
81 extern BI_tool_entry_next bdb_tool_entry_next;
82 extern BI_tool_entry_get bdb_tool_entry_get;
83 extern BI_tool_entry_put bdb_tool_entry_put;
84 extern BI_tool_entry_reindex bdb_tool_entry_reindex;
85 extern BI_tool_dn2id_get bdb_tool_dn2id_get;
86 extern BI_tool_id2entry_get bdb_tool_id2entry_get;
87 extern BI_tool_entry_modify bdb_tool_entry_modify;
91 #endif /* _BDB_EXTERNAL_H */