]> git.sur5r.net Git - openldap/blob - servers/slapd/back-bdb/external.h
ITS#3226: Clear attribute flags after schema_check failed
[openldap] / servers / slapd / back-bdb / external.h
1 /* $OpenLDAP$ */
2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
3  *
4  * Copyright 2000-2004 The OpenLDAP Foundation.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted only as authorized by the OpenLDAP
9  * Public License.
10  *
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>.
14  */
15
16 #ifndef _BDB_EXTERNAL_H
17 #define _BDB_EXTERNAL_H
18
19 LDAP_BEGIN_DECL
20
21 #ifndef BDB_SYMBOL
22 #ifdef BDB_HIER
23 #define BDB_SYMBOL(x)   LDAP_CONCAT(hdb_,x)
24 #else
25 #define BDB_SYMBOL(x)   LDAP_CONCAT(bdb_,x)
26 #endif
27 #endif
28
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)
51
52 extern BI_init  bdb_initialize;
53
54 extern BI_db_config     bdb_db_config;
55
56 extern BI_op_add        bdb_add;
57
58 extern BI_op_bind       bdb_bind;
59
60 extern BI_op_compare    bdb_compare;
61
62 extern BI_op_delete     bdb_delete;
63
64 extern BI_op_modify     bdb_modify;
65
66 extern BI_op_modrdn     bdb_modrdn;
67
68 extern BI_op_search     bdb_search;
69
70 extern BI_op_extended   bdb_extended;
71
72 extern BI_chk_referrals bdb_referrals;
73
74 extern BI_operational   bdb_operational;
75
76 extern BI_has_subordinates bdb_hasSubordinates;
77
78 /* tools.c */
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;
88
89 LDAP_END_DECL
90
91 #endif /* _BDB_EXTERNAL_H */
92