libspf2  1.2.10
spf_dns_zone.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of either:
4  *
5  * a) The GNU Lesser General Public License as published by the Free
6  * Software Foundation; either version 2.1, or (at your option) any
7  * later version,
8  *
9  * OR
10  *
11  * b) The two-clause BSD license.
12  *
13  * These licenses can be found with the distribution in the file LICENSES
14  */
15 
16 
17 
18 
19 #ifndef INC_SPF_DNS_ZONE
20 #define INC_SPF_DNS_ZONE
21 
70 SPF_dns_server_t *SPF_dns_zone_new(SPF_dns_server_t *layer_below,
71  const char *name, int debug);
72 
79 SPF_errcode_t SPF_dns_zone_add_str(SPF_dns_server_t *spf_dns_server,
80  const char *domain, ns_type rr_type,
81  SPF_dns_stat_t herrno, const char *data);
82 
83 
84 #endif
int SPF_dns_stat_t
Definition: spf_dns.h:108
SPF_errcode_t
Definition: spf_response.h:118
ns_type
Definition: arpa_nameser.h:300
#define debug
SPF_errcode_t SPF_dns_zone_add_str(SPF_dns_server_t *spf_dns_server, const char *domain, ns_type rr_type, SPF_dns_stat_t herrno, const char *data)
Definition: spf_dns_zone.c:189
SPF_dns_server_t * SPF_dns_zone_new(SPF_dns_server_t *layer_below, const char *name, int debug)
Definition: spf_dns_zone.c:337