From: Kurt Zeilenga Date: Mon, 22 May 2000 03:55:03 +0000 (+0000) Subject: const'ification X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2904 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a5c2403eb149d7c4e686abafa6bc4b73af9891a9;p=openldap const'ification --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 84d8927e9e..d1ffda15f8 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -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 diff --git a/servers/slapd/back-ldap/compare.c b/servers/slapd/back-ldap/compare.c index 98b0de3bef..f19cc440a1 100644 --- a/servers/slapd/back-ldap/compare.c +++ b/servers/slapd/back-ldap/compare.c @@ -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 ) { diff --git a/servers/slapd/back-ldap/delete.c b/servers/slapd/back-ldap/delete.c index b6f84b48ad..f2554ba30e 100644 --- a/servers/slapd/back-ldap/delete.c +++ b/servers/slapd/back-ldap/delete.c @@ -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; diff --git a/servers/slapd/back-ldap/modify.c b/servers/slapd/back-ldap/modify.c index 3245a231fd..5871b644f4 100644 --- a/servers/slapd/back-ldap/modify.c +++ b/servers/slapd/back-ldap/modify.c @@ -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 ) { diff --git a/servers/slapd/back-ldap/modrdn.c b/servers/slapd/back-ldap/modrdn.c index 9e94f2f7d7..119af646d6 100644 --- a/servers/slapd/back-ldap/modrdn.c +++ b/servers/slapd/back-ldap/modrdn.c @@ -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; diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index 8f8ef5dfa1..c77420da60 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -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 )