OpenDNSSEC-enforcer 2.1.13
confparser.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2009 NLNet Labs. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 *
13 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
17 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
19 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
20 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
21 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
22 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
23 * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 */
26
32#ifndef PARSER_CONFPARSER_H
33#define PARSER_CONFPARSER_H
34
35#include <time.h>
36#include "config.h"
37#include "status.h"
38#include "daemon/cfg.h"
39
47ods_status parse_file_check(const char* cfgfile, const char* rngfile);
48
57const char* parse_conf_string(const char* cfgfile, const char* expr,
58 int required);
59
69const char* parse_conf_policy_filename(const char* cfgfile);
70const char* parse_conf_zonelist_filename(const char* cfgfile);
71const char* parse_conf_zonefetch_filename(const char* cfgfile);
72const char* parse_conf_log_filename(const char* cfgfile);
73
75const char* parse_conf_pid_filename(const char* cfgfile);
76const char* parse_conf_delegation_signer_submit_command(const char* cfgfile);
77const char* parse_conf_delegation_signer_retract_command(const char* cfgfile);
78const char* parse_conf_clisock_filename(const char* cfgfile);
79const char* parse_conf_working_dir(const char* cfgfile);
80const char* parse_conf_username(const char* cfgfile);
81const char* parse_conf_group(const char* cfgfile);
82const char* parse_conf_chroot(const char* cfgfile);
83const char* parse_conf_datastore(const char* cfgfile);
84const char* parse_conf_db_host(const char* cfgfile);
85const char* parse_conf_db_username(const char* cfgfile);
86const char* parse_conf_db_password(const char* cfgfile);
88
97int parse_conf_use_syslog(const char* cfgfile);
98int parse_conf_verbosity(const char* cfgfile);
99
101int parse_conf_worker_threads(const char* cfgfile);
102int parse_conf_manual_keygen(const char* cfgfile);
103int parse_conf_db_port(const char *cfgfile);
104time_t parse_conf_automatic_keygen_period(const char* cfgfile);
105time_t parse_conf_rollover_notification(const char* cfgfile);
106hsm_repository_t* parse_conf_repositories(const char* cfgfile);
107
108#endif /* PARSE_CONFPARSER_H */
engineconfig_database_type_t
Definition cfg.h:43
const char * parse_conf_db_username(const char *cfgfile)
Definition confparser.c:568
engineconfig_database_type_t parse_conf_db_type(const char *cfgfile)
Definition confparser.c:678
const char * parse_conf_clisock_filename(const char *cfgfile)
Definition confparser.c:435
const char * parse_conf_delegation_signer_retract_command(const char *cfgfile)
Definition confparser.c:419
const char * parse_conf_db_host(const char *cfgfile)
Definition confparser.c:552
const char * parse_conf_policy_filename(const char *cfgfile)
Definition confparser.c:314
const char * parse_conf_delegation_signer_submit_command(const char *cfgfile)
Definition confparser.c:403
int parse_conf_db_port(const char *cfgfile)
Definition confparser.c:663
const char * parse_conf_zonelist_filename(const char *cfgfile)
Definition confparser.c:330
hsm_repository_t * parse_conf_repositories(const char *cfgfile)
Definition confparser.c:205
const char * parse_conf_working_dir(const char *cfgfile)
Definition confparser.c:458
const char * parse_conf_log_filename(const char *cfgfile)
Definition confparser.c:364
int parse_conf_worker_threads(const char *cfgfile)
Definition confparser.c:634
const char * parse_conf_username(const char *cfgfile)
Definition confparser.c:477
time_t parse_conf_rollover_notification(const char *cfgfile)
Definition confparser.c:724
const char * parse_conf_zonefetch_filename(const char *cfgfile)
Definition confparser.c:347
const char * parse_conf_pid_filename(const char *cfgfile)
Definition confparser.c:384
int parse_conf_use_syslog(const char *cfgfile)
Definition confparser.c:604
const char * parse_conf_db_password(const char *cfgfile)
Definition confparser.c:584
const char * parse_conf_chroot(const char *cfgfile)
Definition confparser.c:511
const char * parse_conf_datastore(const char *cfgfile)
Definition confparser.c:527
const char * parse_conf_group(const char *cfgfile)
Definition confparser.c:494
time_t parse_conf_automatic_keygen_period(const char *cfgfile)
Definition confparser.c:703
int parse_conf_manual_keygen(const char *cfgfile)
Definition confparser.c:650
int parse_conf_verbosity(const char *cfgfile)
Definition confparser.c:617
ods_status parse_file_check(const char *cfgfile, const char *rngfile)
Definition confparser.c:53
const char * parse_conf_string(const char *cfgfile, const char *expr, int required)
Definition confparser.c:146