1 #ifndef _BDB2_EXTERNAL_H
2 #define _BDB2_EXTERNAL_H
6 extern int bdb2_back_initialize LDAP_P(( BackendInfo *bi ));
7 extern int bdb2_back_open LDAP_P(( BackendInfo *bi ));
8 extern int bdb2_back_close LDAP_P(( BackendInfo *bi ));
9 extern int bdb2_back_destroy LDAP_P(( BackendInfo *bi ));
11 extern int bdb2_back_db_init LDAP_P(( BackendDB *bd ));
12 extern int bdb2_back_db_open LDAP_P(( BackendDB *bd ));
13 extern int bdb2_back_db_close LDAP_P(( BackendDB *bd ));
14 extern int bdb2_back_db_destroy LDAP_P(( BackendDB *bd ));
16 extern int bdb2_back_db_config LDAP_P(( BackendDB *bd,
17 char *fname, int lineno, int argc, char **argv ));
19 extern int bdb2_back_bind LDAP_P(( BackendDB *bd,
20 Connection *conn, Operation *op,
21 char *dn, int method, struct berval *cred, char** edn ));
23 extern int bdb2_back_unbind LDAP_P(( BackendDB *bd,
24 Connection *conn, Operation *op ));
26 extern int bdb2_back_search LDAP_P(( BackendDB *bd,
27 Connection *conn, Operation *op,
28 char *base, int scope, int deref, int sizelimit, int timelimit,
29 Filter *filter, char *filterstr, char **attrs, int attrsonly ));
31 extern int bdb2_back_compare LDAP_P((BackendDB *bd,
32 Connection *conn, Operation *op,
33 char *dn, Ava *ava ));
35 extern int bdb2_back_modify LDAP_P(( BackendDB *bd,
36 Connection *conn, Operation *op,
37 char *dn, LDAPModList *ml ));
39 extern int bdb2_back_modrdn LDAP_P(( BackendDB *bd,
40 Connection *conn, Operation *op,
41 char *dn, char*newrdn, int deleteoldrdn ));
43 extern int bdb2_back_add LDAP_P(( BackendDB *bd,
44 Connection *conn, Operation *op, Entry *e ));
46 extern int bdb2_back_delete LDAP_P(( BackendDB *bd,
47 Connection *conn, Operation *op, char *dn ));
49 extern int bdb2_back_abandon LDAP_P(( BackendDB *bd,
50 Connection *conn, Operation *op, int msgid ));
52 extern int bdb2_back_group LDAP_P(( BackendDB *bd,
53 Entry *target, char* gr_ndn, char* op_ndn,
54 char* objectclassValue, char* groupattrName));
58 #endif /* _BDB2_EXTERNAL_H */