2017-03-09 06:59:57 +08:00
|
|
|
/* config.h - configuration abstraction structure */
|
|
|
|
/* $OpenLDAP$ */
|
|
|
|
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
*
|
|
|
|
* Copyright 1998-2020 The OpenLDAP Foundation.
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
* Public License.
|
|
|
|
*
|
|
|
|
* A copy of this license is available in the file LICENSE in the
|
|
|
|
* top-level directory of the distribution or, alternatively, at
|
|
|
|
* <http://www.OpenLDAP.org/license.html>.
|
|
|
|
*/
|
|
|
|
|
2018-02-01 23:24:48 +08:00
|
|
|
#ifndef LLOAD_CONFIG_H /* not CONFIG_H because it overlaps with the one from slapd */
|
|
|
|
#define LLOAD_CONFIG_H
|
2017-03-09 06:59:57 +08:00
|
|
|
|
|
|
|
#include <ac/string.h>
|
2018-02-01 23:24:48 +08:00
|
|
|
#include "../slapd/config.h"
|
2017-03-09 06:59:57 +08:00
|
|
|
|
|
|
|
LDAP_BEGIN_DECL
|
|
|
|
|
2017-12-18 18:53:39 +08:00
|
|
|
int lload_config_fp_parse_line( ConfigArgs *c );
|
2017-03-09 06:59:57 +08:00
|
|
|
|
2017-12-18 18:53:39 +08:00
|
|
|
int lload_config_get_vals( ConfigTable *ct, ConfigArgs *c );
|
|
|
|
int lload_config_add_vals( ConfigTable *ct, ConfigArgs *c );
|
2017-03-09 06:59:57 +08:00
|
|
|
|
2017-12-18 18:53:39 +08:00
|
|
|
void lload_init_config_argv( ConfigArgs *c );
|
|
|
|
int lload_read_config_file( const char *fname, int depth, ConfigArgs *cf, ConfigTable *cft );
|
2017-03-09 06:59:57 +08:00
|
|
|
|
2017-12-18 18:53:39 +08:00
|
|
|
ConfigTable *lload_config_find_keyword( ConfigTable *ct, ConfigArgs *c );
|
2017-03-09 06:59:57 +08:00
|
|
|
|
2017-12-18 18:53:39 +08:00
|
|
|
LloadListener *lload_config_check_my_url( const char *url, LDAPURLDesc *lud );
|
2017-03-09 06:59:57 +08:00
|
|
|
|
|
|
|
LDAP_END_DECL
|
|
|
|
|
2018-02-01 23:24:48 +08:00
|
|
|
#endif /* LLOAD_CONFIG_H */
|