]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/config.h
ITS#8616 don't check for existing value when deleting values
[openldap] / servers / slapd / config.h
index 0beb62976bb293436f4f67f4102d4e215aedecf2..04844a76fabe21d40e92a65b8838508cfb126c58 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2015 The OpenLDAP Foundation.
+ * Copyright 1998-2018 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -60,6 +60,7 @@ typedef enum {
 #define ARG_UINT       0x00008000
 #define ARG_ATDESC     0x00009000
 #define ARG_ULONG      0x0000a000
+#define ARG_BINARY     0x0000b000
 
 #define ARGS_SYNTAX    0xffff0000
 #define ARG_IGNORED    0x00080000
@@ -134,6 +135,7 @@ typedef struct config_args_s {
        char *tline;
        const char *fname;
        int lineno;
+       int linelen;
        char log[MAXPATHLEN + STRLENOF(": line ") + LDAP_PVT_INTTYPE_CHARS(unsigned long)];
 #define cr_msg reply.msg
        ConfigReply reply;
@@ -196,6 +198,7 @@ int config_add_vals(ConfigTable *ct, ConfigArgs *c);
 void init_config_argv( ConfigArgs *c );
 int init_config_attrs(ConfigTable *ct);
 int init_config_ocs( ConfigOCs *ocs );
+void config_parse_ldif( ConfigArgs *c );
 int config_parse_vals(ConfigTable *ct, ConfigArgs *c, int valx);
 int config_parse_add(ConfigTable *ct, ConfigArgs *c, int valx);
 int read_config_file(const char *fname, int depth, ConfigArgs *cf,