From 52dc71ef5378cc614bdb36deda117a68a8b135f8 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Mon, 14 Apr 2008 20:25:54 +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