signconfparser.h
Go to the documentation of this file.
/*
* Copyright (c) 2009 NLNet Labs. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
#ifndef PARSER_SIGNCONFPARSER_H
#define PARSER_SIGNCONFPARSER_H
#include "parser/confparser.h"
#include "status.h"
#include "duration.h"
#include "signer/keys.h"
#include "config.h"
#include <ldns/ldns.h>
extern keylist_type* parse_sc_keys(void* sc, const char* cfgfile);
extern duration_type* parse_sc_sig_resign_interval(const char* cfgfile);
extern duration_type* parse_sc_sig_refresh_interval(const char* cfgfile);
extern duration_type* parse_sc_sig_validity_default(const char* cfgfile);
extern duration_type* parse_sc_sig_validity_denial(const char* cfgfile);
extern duration_type* parse_sc_sig_validity_keyset(const char* cfgfile);
extern duration_type* parse_sc_sig_jitter(const char* cfgfile);
extern duration_type* parse_sc_sig_inception_offset(const char* cfgfile);
extern duration_type* parse_sc_dnskey_ttl(const char* cfgfile);
extern const char** parse_sc_dnskey_sigrrs(const char* cfgfile);
extern duration_type* parse_sc_nsec3param_ttl(const char* cfgfile);
extern duration_type* parse_sc_soa_ttl(const char* cfgfile);
extern duration_type* parse_sc_soa_min(const char* cfgfile);
extern duration_type* parse_sc_max_zone_ttl(const char* cfgfile);
extern ldns_rr_type parse_sc_nsec_type(const char* cfgfile);
extern uint32_t parse_sc_nsec3_algorithm(const char* cfgfile);
extern uint32_t parse_sc_nsec3_iterations(const char* cfgfile);
extern int parse_sc_nsec3_optout(const char* cfgfile);
extern int parse_sc_passthrough(const char* cfgfile);
extern const char* parse_sc_soa_serial(const char* cfgfile);
extern const char* parse_sc_nsec3_salt(const char* cfgfile);
#endif /* PARSER_SIGNCONFPARSER_H */
confparser.h
keys.h
parse_sc_sig_validity_denial
duration_type * parse_sc_sig_validity_denial(const char *cfgfile)
Definition signconfparser.c:222
parse_sc_nsec3_salt
const char * parse_sc_nsec3_salt(const char *cfgfile)
Definition signconfparser.c:540
parse_sc_nsec3_optout
int parse_sc_nsec3_optout(const char *cfgfile)
Definition signconfparser.c:491
parse_sc_sig_resign_interval
duration_type * parse_sc_sig_resign_interval(const char *cfgfile)
Definition signconfparser.c:174
parse_sc_soa_min
duration_type * parse_sc_soa_min(const char *cfgfile)
Definition signconfparser.c:396
parse_sc_dnskey_sigrrs
const char ** parse_sc_dnskey_sigrrs(const char *cfgfile)
Definition signconfparser.c:304
parse_sc_sig_inception_offset
duration_type * parse_sc_sig_inception_offset(const char *cfgfile)
Definition signconfparser.c:272
parse_sc_nsec3_algorithm
uint32_t parse_sc_nsec3_algorithm(const char *cfgfile)
Definition signconfparser.c:457
parse_sc_dnskey_ttl
duration_type * parse_sc_dnskey_ttl(const char *cfgfile)
Definition signconfparser.c:288
parse_sc_keys
keylist_type * parse_sc_keys(void *sc, const char *cfgfile)
Definition signconfparser.c:51
parse_sc_nsec3_iterations
uint32_t parse_sc_nsec3_iterations(const char *cfgfile)
Definition signconfparser.c:474
parse_sc_sig_validity_default
duration_type * parse_sc_sig_validity_default(const char *cfgfile)
Definition signconfparser.c:206
parse_sc_max_zone_ttl
duration_type * parse_sc_max_zone_ttl(const char *cfgfile)
Definition signconfparser.c:412
parse_sc_soa_serial
const char * parse_sc_soa_serial(const char *cfgfile)
Definition signconfparser.c:523
parse_sc_passthrough
int parse_sc_passthrough(const char *cfgfile)
Definition signconfparser.c:505
parse_sc_sig_jitter
duration_type * parse_sc_sig_jitter(const char *cfgfile)
Definition signconfparser.c:256
parse_sc_nsec3param_ttl
duration_type * parse_sc_nsec3param_ttl(const char *cfgfile)
Definition signconfparser.c:364
parse_sc_sig_validity_keyset
duration_type * parse_sc_sig_validity_keyset(const char *cfgfile)
Definition signconfparser.c:238
parse_sc_soa_ttl
duration_type * parse_sc_soa_ttl(const char *cfgfile)
Definition signconfparser.c:380
parse_sc_nsec_type
ldns_rr_type parse_sc_nsec_type(const char *cfgfile)
Definition signconfparser.c:432
parse_sc_sig_refresh_interval
duration_type * parse_sc_sig_refresh_interval(const char *cfgfile)
Definition signconfparser.c:190
keylist_struct
Definition keys.h:66