⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dns_init.c.svn-base

📁 域名解析器的实现
💻 SVN-BASE
字号:
/***************************************************************************************
 *		Copyright c 2000 D-Link Corporation		All rights reserved.
 *
 *		This is unpublished proprietary source code of D-Link Corporation
 *
 *		The copyright notice above does not evidence any actual or intended 
 *		publication of such source code.
 ***************************************************************************************
 */
 
/*
 * Initialization and shutdown code for DNS library.  All global and
 * static variables that aren't constants should be defined in this
 * file, so that they can be (re)initalized when dns_init() is called.
 */
#include <l3/inc/phase2.h>
#include <l3/ap/dnsr/h/dns.h>
#include <l3/ap/dnsr/h/dnsr_if.h>


/*------------------------------------------------------------------------
 * void  dnsr_init()
 * Purpose: initialize dnsr config
 *          
 * Parameters:
 *    Input:
 *    Output:
 * returns :
 *------------------------------------------------------------------------
 */
void dnsr_init(void)
{
    /* initialize cache */
    dns_gc_init();    
    /* initialize query db */
    dnsr_init_query_db();    
    /* intiialize static entry */
    dns_static_host_init();    
    /* restore EEPROM data to current database */
    DNSR_Restore_Config();
        
}    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -