xref: /netbsd-src/external/bsd/openldap/dist/servers/lloadd/lload-config.h (revision 549b59ed3ccf0d36d3097190a0db27b770f3a839)
1 /*	$NetBSD: lload-config.h,v 1.2 2021/08/14 16:14:58 christos Exp $	*/
2 
3 /* lload-config.h - configuration abstraction structure */
4 /* $OpenLDAP$ */
5 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
6  *
7  * Copyright 1998-2021 The OpenLDAP Foundation.
8  * All rights reserved.
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted only as authorized by the OpenLDAP
12  * Public License.
13  *
14  * A copy of this license is available in the file LICENSE in the
15  * top-level directory of the distribution or, alternatively, at
16  * <http://www.OpenLDAP.org/license.html>.
17  */
18 
19 #ifndef LLOAD_CONFIG_H /* not CONFIG_H because it overlaps with the one from slapd */
20 #define LLOAD_CONFIG_H
21 
22 #include <ac/string.h>
23 #include "../slapd/slap-config.h"
24 
25 LDAP_BEGIN_DECL
26 
27 int lload_config_fp_parse_line( ConfigArgs *c );
28 
29 int lload_config_get_vals( ConfigTable *ct, ConfigArgs *c );
30 int lload_config_add_vals( ConfigTable *ct, ConfigArgs *c );
31 
32 void lload_init_config_argv( ConfigArgs *c );
33 int lload_read_config_file( const char *fname, int depth, ConfigArgs *cf, ConfigTable *cft );
34 
35 ConfigTable *lload_config_find_keyword( ConfigTable *ct, ConfigArgs *c );
36 
37 LloadListener *lload_config_check_my_url( const char *url, LDAPURLDesc *lud );
38 
39 LDAP_END_DECL
40 
41 #endif /* LLOAD_CONFIG_H */
42