X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fconfig.h;h=04844a76fabe21d40e92a65b8838508cfb126c58;hb=9069cbe543d079e9d7f55162decb8e732fc32338;hp=0beb62976bb293436f4f67f4102d4e215aedecf2;hpb=7308f0675a489a25df9d57816a0f1d2662ead8d7;p=openldap diff --git a/servers/slapd/config.h b/servers/slapd/config.h index 0beb62976b..04844a76fa 100644 --- a/servers/slapd/config.h +++ b/servers/slapd/config.h @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * 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,