From: Howard Chu Date: Mon, 18 Feb 2008 23:11:12 +0000 (+0000) Subject: const strings X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~138 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=46273b9c4e9d842b0c6cf91db012fef57eabbbc1;p=openldap const strings --- diff --git a/servers/slapd/config.h b/servers/slapd/config.h index 09dd0f4c21..8da8b6e1bb 100644 --- a/servers/slapd/config.h +++ b/servers/slapd/config.h @@ -22,14 +22,14 @@ LDAP_BEGIN_DECL typedef struct ConfigTable { - char *name; - char *what; + const char *name; + const char *what; int min_args; int max_args; int length; unsigned int arg_type; void *arg_item; - char *attribute; + const char *attribute; AttributeDescription *ad; void *notify; } ConfigTable; @@ -99,7 +99,7 @@ typedef int (ConfigCfAdd)( Operation *op, SlapReply *rs, Entry *parent, struct config_args_s *ca ); typedef struct ConfigOCs { - char *co_def; + const char *co_def; ConfigType co_type; ConfigTable *co_table; ConfigLDAPadd *co_ldadd;