libspf2
1.2.11
src
include
spf_dns_windns.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_WINDNS
20
#define INC_SPF_DNS_WINDNS
21
22
/* For an overview of the DNS layer system, see spf_dns.h */
23
24
/*
25
* The WinDNS layer is an interface to the Windows DNS API.
26
*
27
* While multiple WinDNS layers can be created, I can't see much
28
* use for more than one.
29
*/
30
31
/*
32
* These routines take care of creating/destroying/etc. the objects
33
* that hold the DNS layer configuration. spfdcid objects contain
34
* malloc'ed data, so they must be destroyed when you are finished
35
* with them, or you will leak memory.
36
*/
37
38
/*
39
* if debugging is enabled, information about the results from
40
* WinDNS will be displayed. This information is often not passed
41
* on to (and not needed by) the higher level DNS layers.
42
*/
43
SPF_dns_config_t
SPF_dns_create_config_windns
( SPF_dns_config_t layer_below,
int
debug
);
44
void
SPF_dns_reset_config_windns
( SPF_dns_config_t spfdcid );
45
void
SPF_dns_destroy_config_windns
( SPF_dns_config_t spfdcid );
46
47
48
#endif
SPF_dns_create_config_windns
SPF_dns_config_t SPF_dns_create_config_windns(SPF_dns_config_t layer_below, int debug)
debug
#define debug
SPF_dns_reset_config_windns
void SPF_dns_reset_config_windns(SPF_dns_config_t spfdcid)
SPF_dns_destroy_config_windns
void SPF_dns_destroy_config_windns(SPF_dns_config_t spfdcid)
Generated by
1.8.17