]> git.sur5r.net Git - openldap/commitdiff
const'ification
authorKurt Zeilenga <kurt@openldap.org>
Mon, 22 May 2000 03:55:03 +0000 (03:55 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 22 May 2000 03:55:03 +0000 (03:55 +0000)
servers/slapd/back-ldap/bind.c
servers/slapd/back-ldap/compare.c
servers/slapd/back-ldap/delete.c
servers/slapd/back-ldap/modify.c
servers/slapd/back-ldap/modrdn.c
servers/slapd/back-ldap/search.c

index 84d8927e9ee6ae6e88d7fea7367a77a159644948..d1ffda15f81c785a12e9bd578840a412617f7743 100644 (file)
@@ -37,8 +37,8 @@ ldap_back_bind(
     Backend            *be,
     Connection         *conn,
     Operation          *op,
-    char               *dn,
-    char               *ndn,
+    const char         *dn,
+    const char         *ndn,
     int                        method,
     struct berval      *cred,
        char            **edn
index 98b0de3befbfa3d29be01651a52928360aefd6a3..f19cc440a128b5876cb2bfb2410055c08f977abb 100644 (file)
@@ -37,8 +37,8 @@ ldap_back_compare(
     Backend    *be,
     Connection *conn,
     Operation  *op,
-    char       *dn,
-    char       *ndn,
+    const char *dn,
+    const char *ndn,
     Ava                *ava
 )
 {
index b6f84b48ada50b2594368213204d613c3830a0ef..f2554ba30e2c6d70a7c2878bbf5dfd0e8699866e 100644 (file)
@@ -37,8 +37,8 @@ ldap_back_delete(
     Backend    *be,
     Connection *conn,
     Operation  *op,
-    char       *dn,
-    char       *ndn
+    const char *dn,
+    const char *ndn
 )
 {
        struct ldapinfo *li = (struct ldapinfo *) be->be_private;
index 3245a231fd29b1c80633e8ac985dfefe152445d8..5871b644f4ff92b71a1f9f76ee967259d23919b9 100644 (file)
@@ -37,8 +37,8 @@ ldap_back_modify(
     Backend    *be,
     Connection *conn,
     Operation  *op,
-    char       *dn,
-    char       *ndn,
+    const char *dn,
+    const char *ndn,
     LDAPModList        *ml
 )
 {
index 9e94f2f7d7e70df7b057e2591aba72e29c946694..119af646d667c74440347163b47a41494c6bbc0d 100644 (file)
@@ -37,11 +37,11 @@ ldap_back_modrdn(
     Backend    *be,
     Connection *conn,
     Operation  *op,
-    char       *dn,
-    char       *ndn,
-    char       *newrdn,
+    const char *dn,
+    const char *ndn,
+    const char *newrdn,
     int                deleteoldrdn,
-    char       *newSuperior
+    const char *newSuperior
 )
 {
        struct ldapinfo *li = (struct ldapinfo *) be->be_private;
index 8f8ef5dfa128cb8cf31ad406169a5362c1c020c8..c77420da6073974d31d677725c0135343616da4d 100644 (file)
@@ -41,14 +41,14 @@ ldap_back_search(
     Backend    *be,
     Connection *conn,
     Operation  *op,
-    char       *base,
-    char       *nbase,
+    const char *base,
+    const char *nbase,
     int                scope,
     int                deref,
     int                size,
     int                time,
     Filter     *filter,
-    char       *filterstr,
+    const char *filterstr,
     char       **attrs,
     int                attrsonly
 )