]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/config.h
don't return entry if requested attr is not present (ITS#5650)
[openldap] / servers / slapd / config.h
index 09dd0f4c214f29d846f2acdd3deeff18d1d39331..8da8b6e1bbc52a95c6c2b4b9d64221e43dbc67d1 100644 (file)
 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;