]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldap/back-ldap.h
Changed struct berval ** to BVarray
[openldap] / servers / slapd / back-ldap / back-ldap.h
index ed4f15fa8224c7d313687d1bc15f34877904142b..4a4f782063d5617f88e96f1448bdeb999c751e34 100644 (file)
@@ -65,8 +65,8 @@ struct ldapmap {
 };
 
 struct ldapmapping {
-       char *src;
-       char *dst;
+       struct berval src;
+       struct berval dst;
 };
 
 struct ldapinfo {
@@ -101,18 +101,19 @@ extern int ldap_back_conn_dup( void *c1, void *c2 );
 int mapping_cmp (const void *, const void *);
 int mapping_dup (void *, void *);
 
-char *ldap_back_map ( struct ldapmap *map, char *s, int remap );
+void ldap_back_map ( struct ldapmap *map, struct berval *s, struct berval *m,
+       int remap );
 char *
 ldap_back_map_filter(
                struct ldapmap *at_map,
                struct ldapmap *oc_map,
-               char *f,
+               struct berval *f,
                int remap
 );
 char **
 ldap_back_map_attrs(
                struct ldapmap *at_map,
-               struct berval **a,
+               AttributeName *a,
                int remap
 );