OpenDNSSEC-signer
1.4.1
Main Page
Data Structures
Files
File List
Globals
signer
src
parser
confparser.h
Go to the documentation of this file.
1
/*
2
* $Id: confparser.h 7065 2013-03-12 13:13:55Z matthijs $
3
*
4
* Copyright (c) 2009 NLNet Labs. All rights reserved.
5
*
6
* Redistribution and use in source and binary forms, with or without
7
* modification, are permitted provided that the following conditions
8
* are met:
9
* 1. Redistributions of source code must retain the above copyright
10
* notice, this list of conditions and the following disclaimer.
11
* 2. Redistributions in binary form must reproduce the above copyright
12
* notice, this list of conditions and the following disclaimer in the
13
* documentation and/or other materials provided with the distribution.
14
*
15
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
19
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
21
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
25
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
*
27
*/
28
34
#ifndef PARSER_CONFPARSER_H
35
#define PARSER_CONFPARSER_H
36
37
#include "config.h"
38
#include "
wire/listener.h
"
39
#include "
shared/allocator.h
"
40
#include "
shared/status.h
"
41
42
#define ADMAX 6
/* Maximum number of adapters that can be initialized */
43
51
ods_status
parse_file_check
(
const
char
* cfgfile,
const
char
* rngfile);
52
61
const
char
*
parse_conf_string
(
const
char
* cfgfile,
const
char
* expr,
62
int
required);
63
71
listener_type
*
parse_conf_listener
(
allocator_type
* allocator,
72
const
char
* cfgfile);
73
83
const
char
*
parse_conf_zonelist_filename
(
allocator_type
* allocator,
84
const
char
* cfgfile);
85
const
char
*
parse_conf_log_filename
(
allocator_type
* allocator,
86
const
char
* cfgfile);
87
89
const
char
*
parse_conf_pid_filename
(
allocator_type
* allocator,
90
const
char
* cfgfile);
91
const
char
*
parse_conf_notify_command
(
allocator_type
* allocator,
92
const
char
* cfgfile);
93
const
char
*
parse_conf_clisock_filename
(
allocator_type
* allocator,
94
const
char
* cfgfile);
95
const
char
*
parse_conf_working_dir
(
allocator_type
* allocator,
96
const
char
* cfgfile);
97
const
char
*
parse_conf_username
(
allocator_type
* allocator,
98
const
char
* cfgfile);
99
const
char
*
parse_conf_group
(
allocator_type
* allocator,
100
const
char
* cfgfile);
101
const
char
*
parse_conf_chroot
(
allocator_type
* allocator,
102
const
char
* cfgfile);
103
112
int
parse_conf_use_syslog
(
const
char
* cfgfile);
113
int
parse_conf_verbosity
(
const
char
* cfgfile);
114
116
int
parse_conf_worker_threads
(
const
char
* cfgfile);
117
int
parse_conf_signer_threads
(
const
char
* cfgfile);
118
119
#endif
/* PARSE_CONFPARSER_H */
Generated on Wed Jul 17 2013 07:14:23 for OpenDNSSEC-signer by
1.8.4