From bd6a0c3da0b965b4d4aaab64226da243f5aacdda Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 22 May 2000 03:59:32 +0000 Subject: [PATCH] Const'ification --- servers/slapd/back-tcl/tcl_bind.c | 5 ++--- servers/slapd/back-tcl/tcl_compare.c | 4 ++-- servers/slapd/back-tcl/tcl_delete.c | 4 ++-- servers/slapd/back-tcl/tcl_modify.c | 4 ++-- servers/slapd/back-tcl/tcl_modrdn.c | 8 ++++---- servers/slapd/back-tcl/tcl_search.c | 6 +++--- 6 files changed, 15 insertions(+), 16 deletions(-) diff --git a/servers/slapd/back-tcl/tcl_bind.c b/servers/slapd/back-tcl/tcl_bind.c index 7adc9ef01f..b4cb214067 100644 --- a/servers/slapd/back-tcl/tcl_bind.c +++ b/servers/slapd/back-tcl/tcl_bind.c @@ -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 ) diff --git a/servers/slapd/back-tcl/tcl_compare.c b/servers/slapd/back-tcl/tcl_compare.c index 7f9ba0ea30..54341e375a 100644 --- a/servers/slapd/back-tcl/tcl_compare.c +++ b/servers/slapd/back-tcl/tcl_compare.c @@ -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 ) { diff --git a/servers/slapd/back-tcl/tcl_delete.c b/servers/slapd/back-tcl/tcl_delete.c index e55d399044..87c7ed1dba 100644 --- a/servers/slapd/back-tcl/tcl_delete.c +++ b/servers/slapd/back-tcl/tcl_delete.c @@ -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; diff --git a/servers/slapd/back-tcl/tcl_modify.c b/servers/slapd/back-tcl/tcl_modify.c index 44d342ba1d..00157bf3a1 100644 --- a/servers/slapd/back-tcl/tcl_modify.c +++ b/servers/slapd/back-tcl/tcl_modify.c @@ -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 ) { diff --git a/servers/slapd/back-tcl/tcl_modrdn.c b/servers/slapd/back-tcl/tcl_modrdn.c index e3f7299172..360b0d72c4 100644 --- a/servers/slapd/back-tcl/tcl_modrdn.c +++ b/servers/slapd/back-tcl/tcl_modrdn.c @@ -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; diff --git a/servers/slapd/back-tcl/tcl_search.c b/servers/slapd/back-tcl/tcl_search.c index 921c9f9527..62c1d4f860 100644 --- a/servers/slapd/back-tcl/tcl_search.c +++ b/servers/slapd/back-tcl/tcl_search.c @@ -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 ) -- 2.39.5