spf_dns_windns.h

Go to the documentation of this file.
00001 /* 
00002  * This program is free software; you can redistribute it and/or modify
00003  * it under the terms of either:
00004  * 
00005  *   a) The GNU Lesser General Public License as published by the Free
00006  *      Software Foundation; either version 2.1, or (at your option) any
00007  *      later version,
00008  * 
00009  *   OR
00010  * 
00011  *   b) The two-clause BSD license.
00012  *
00013  * These licenses can be found with the distribution in the file LICENSES
00014  */
00015 
00016 
00017 
00018 
00019 #ifndef INC_SPF_DNS_WINDNS
00020 #define INC_SPF_DNS_WINDNS
00021 
00022 /* For an overview of the DNS layer system, see spf_dns.h */
00023 
00024 /*
00025  * The WinDNS layer is an interface to the Windows DNS API.
00026  *
00027  * While multiple WinDNS layers can be created, I can't see much
00028  * use for more than one.
00029  */
00030 
00031 /*
00032  * These routines take care of creating/destroying/etc. the objects
00033  * that hold the DNS layer configuration.  spfdcid objects contain
00034  * malloc'ed data, so they must be destroyed when you are finished
00035  * with them, or you will leak memory. 
00036  */
00037 
00038 /*
00039  * if debugging is enabled, information about the results from
00040  * WinDNS will be displayed.  This information is often not passed
00041  * on to (and not needed by) the higher level DNS layers.
00042  */
00043 SPF_dns_config_t SPF_dns_create_config_windns( SPF_dns_config_t layer_below, int debug  );
00044 void SPF_dns_reset_config_windns( SPF_dns_config_t spfdcid );
00045 void SPF_dns_destroy_config_windns( SPF_dns_config_t spfdcid );
00046 
00047 
00048 #endif

Generated on Tue Nov 4 13:27:38 2008 for libspf2 by  doxygen 1.5.4