libspf2 1.2.11
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
70SPF_dns_server_t *SPF_dns_zone_new(SPF_dns_server_t *layer_below,
71 const char *name, int debug);
72
79SPF_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
ns_type
SPF_dns_server_t * SPF_dns_zone_new(SPF_dns_server_t *layer_below, const char *name, int 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)
int SPF_dns_stat_t
Definition spf_dns.h:108
SPF_errcode_t
#define debug