105 lines
3.0 KiB
C
105 lines
3.0 KiB
C
/*
|
|
******************************************************************************
|
|
* HEADER FILE
|
|
*
|
|
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipdnsc_config.h,v $ $Revision: 1.22 $
|
|
* $Source: /home/interpeak/CVSRoot/ipappl/config/ipdnsc_config.h,v $
|
|
* $Author: jren $ $Date: 2010-10-13 01:07:40 $
|
|
* $State: Exp $ $Locker: $
|
|
*
|
|
* INTERPEAK_COPYRIGHT_STRING
|
|
******************************************************************************
|
|
*/
|
|
#ifndef IPDNSC_CONFIG_H
|
|
#define IPDNSC_CONFIG_H
|
|
|
|
#include <ipcom_config.h>
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 1 DESCRIPTION
|
|
****************************************************************************
|
|
* DNS Client compile time configuration.
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 2 CONFIGURATION
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 3 INCLUDE FILES
|
|
****************************************************************************
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 4 DEFINES
|
|
****************************************************************************
|
|
*/
|
|
|
|
#ifdef IPTESTENGINE
|
|
#if !defined(IPDNSC_USE_TEST)
|
|
#define IPDNSC_USE_TEST
|
|
#endif
|
|
#endif
|
|
|
|
/* Define to include support for gated-style MD5 authentication. */
|
|
#ifdef IPCOM_USE_MD5
|
|
#define IPDNSC_INCLUDE_MD5
|
|
#endif
|
|
|
|
|
|
/*
|
|
*===========================================================================
|
|
* IPDNSC_CONF_DNS_HOSTS
|
|
*===========================================================================
|
|
* A list of known hosts.
|
|
*
|
|
*/
|
|
#define IPDNSC_CONF_DNS_HOSTS { "127.0.0.1", "localhost" }, \
|
|
{ "::1", "localhost6" }, \
|
|
{ IP_NULL, IP_NULL }
|
|
|
|
|
|
/*
|
|
*===========================================================================
|
|
* IPDNSC_CONF_MAX_CACHE_ENTRIES
|
|
*===========================================================================
|
|
* The maximum number of entries in the DNS cache.
|
|
*
|
|
*/
|
|
#define IPDNSC_CONF_MAX_CACHE_ENTRIES 32
|
|
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 5 TYPES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 6 FUNCTIONS
|
|
****************************************************************************
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* END OF FILE
|
|
****************************************************************************
|
|
*/
|