From 46273b9c4e9d842b0c6cf91db012fef57eabbbc1 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 18 Feb 2008 23:11:12 +0000 Subject: [PATCH] const strings --- servers/slapd/config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; -- 2.39.5