2 #ifndef _LDAP_EXTERNAL_H
3 #define _LDAP_EXTERNAL_H
7 extern int ldap_back_initialize LDAP_P(( BackendInfo *bi ));
8 extern int ldap_back_open LDAP_P(( BackendInfo *bi ));
9 extern int ldap_back_close LDAP_P(( BackendInfo *bi ));
10 extern int ldap_back_destroy LDAP_P(( BackendInfo *bi ));
12 extern int ldap_back_db_init LDAP_P(( BackendDB *bd ));
13 extern int ldap_back_db_destroy LDAP_P(( BackendDB *bd ));
15 extern int ldap_back_db_config LDAP_P(( BackendDB *bd,
16 const char *fname, int lineno, int argc, char **argv ));
18 extern int ldap_back_bind LDAP_P(( BackendDB *bd,
19 Connection *conn, Operation *op,
20 const char *dn, const char *ndn, int method,
21 struct berval *cred, char** edn ));
23 extern int ldap_back_conn_destroy LDAP_P(( BackendDB *bd,
26 extern int ldap_back_search LDAP_P(( BackendDB *bd,
27 Connection *conn, Operation *op,
28 const char *base, const char *nbase,
29 int scope, int deref, int sizelimit, int timelimit,
30 Filter *filter, const char *filterstr,
31 char **attrs, int attrsonly ));
33 extern int ldap_back_compare LDAP_P(( BackendDB *bd,
34 Connection *conn, Operation *op,
35 const char *dn, const char *ndn,
36 AttributeAssertion *ava ));
38 extern int ldap_back_modify LDAP_P(( BackendDB *bd,
39 Connection *conn, Operation *op,
40 const char *dn, const char *ndn, Modifications *ml ));
42 extern int ldap_back_modrdn LDAP_P(( BackendDB *bd,
43 Connection *conn, Operation *op,
44 const char *dn, const char *ndn,
45 const char *newrdn, int deleteoldrdn,
46 const char *newSuperior ));
48 extern int ldap_back_add LDAP_P(( BackendDB *bd,
49 Connection *conn, Operation *op, Entry *e ));
51 extern int ldap_back_delete LDAP_P(( BackendDB *bd,
52 Connection *conn, Operation *op,
53 const char *dn, const char *ndn ));
55 extern int ldap_back_abandon LDAP_P(( BackendDB *bd,
56 Connection *conn, Operation *op, int msgid ));
58 extern int ldap_back_group LDAP_P(( BackendDB *bd,
62 ObjectClass* group_oc,
63 AttributeDescription* group_at));
65 extern int ldap_back_attribute LDAP_P(( BackendDB *bd,
66 Connection *conn, Operation *op,
69 AttributeDescription* entry_at,
74 #endif /* _LDAP_EXTERNAL_H */