]> git.sur5r.net Git - openldap/commitdiff
Const'ification
authorKurt Zeilenga <kurt@openldap.org>
Mon, 22 May 2000 03:59:32 +0000 (03:59 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 22 May 2000 03:59:32 +0000 (03:59 +0000)
servers/slapd/back-tcl/tcl_bind.c
servers/slapd/back-tcl/tcl_compare.c
servers/slapd/back-tcl/tcl_delete.c
servers/slapd/back-tcl/tcl_modify.c
servers/slapd/back-tcl/tcl_modrdn.c
servers/slapd/back-tcl/tcl_search.c

index 7adc9ef01f440aa9a31b9da26a09991bb1be7941..b4cb21406726a77fe75246540f3a55f170c6a1ce 100644 (file)
@@ -21,10 +21,9 @@ tcl_back_bind (
        Backend * be,
        Connection * conn,
        Operation * op,
-       char *dn,
-       char *ndn,
+       const char *dn,
+       const char *ndn,
        int method,
-       char            *mech,
        struct berval *cred,
        char **edn
 )
index 7f9ba0ea30bd2a43471f0b829ab59def0b767bce..54341e375a26a4b65cf3dc341554575537d08843 100644 (file)
@@ -21,8 +21,8 @@ tcl_back_compare (
        Backend * be,
        Connection * conn,
        Operation * op,
-       char *dn,
-       char *ndn,
+       const char *dn,
+       const char *ndn,
        Ava * ava
 )
 {
index e55d399044430a42829fd6f34624c1812b56e813..87c7ed1dbadcedfdeacddabdd16b3227dd80ec63 100644 (file)
@@ -20,8 +20,8 @@ tcl_back_delete (
        Backend * be,
        Connection * conn,
        Operation * op,
-       char *dn,
-       char *ndn
+       const char *dn,
+       const char *ndn
 )
 {
        char *command, *suf_tcl, *results;
index 44d342ba1d13f9ed567c07b7ecd50a3fd465b64a..00157bf3a1de101d02e4fcb56d1ef75eb9902d3a 100644 (file)
@@ -21,8 +21,8 @@ tcl_back_modify (
        Backend * be,
        Connection * conn,
        Operation * op,
-       char *dn,
-       char *ndn,
+       const char *dn,
+       const char *ndn,
        LDAPModList * modlist
 )
 {
index e3f7299172f6a3bd2c62d54cd9db4138c5649013..360b0d72c438244dd19980c773c0f9be48c0af9f 100644 (file)
@@ -34,11 +34,11 @@ tcl_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
 )
 {
        char *command, *suf_tcl, *results;
index 921c9f9527880ce91b681a23c6785b4ca4dc77d8..62c1d4f860ede528cebf583f0133c34db98e33d6 100644 (file)
@@ -21,14 +21,14 @@ tcl_back_search (
        Backend * be,
        Connection * conn,
        Operation * op,
-       char *base,
-       char *nbase,
+       const char *base,
+       const char *nbase,
        int scope,
        int deref,
        int sizelimit,
        int timelimit,
        Filter * filter,
-       char *filterstr,
+       const char *filterstr,
        char **attrs,
        int attrsonly
 )