📄 dns_client_statics.h
字号:
/* ############################################################################ (c) Copyright GlobespanVirata Limited 2003## GlobespanVirata Limited Confidential and Proprietary## The following software source code ("Software") is strictly confidential and# is proprietary to GlobespanVirata. It may only be read, used, copied, # adapted, modified or otherwise dealt with by you if you have entered into a# confidentiality agreement with GlobespanVirata and then subject to the terms# of that confidentiality agreement and any other applicable agreement between# you and GlobespanVirata. If you are in any doubt as to whether you are # entitled to access, read, use, copy, adapt, modify or otherwise deal with# the Software or whether you are entitled to disclose the Software to any # other person you should contact GlobespanVirata. If you have not entered # into a confidentiality agreement with GlobespanVirata granting access to # this Software you should forthwith return all media, copies and printed# listings containing the Software to GlobespanVirata. ## GlobespanVirata reserves the right to take legal action against you should # you breach the above provisions.## If you are unsure, or to report violations, please contact # support@globespanvirata.com# ##########################################################################*//* Provision of static storage has been moved here from dns_client_resource.c * since these items are private to the DNS client. That file now only contains * structure alloc and free functions, and no longer uses any static storage. * This is intended to allow DNS relay to utilise the functions there without * incurring a memory cost. */#include <stdlib.h>#include "dns_resolv.h"#include "dns_client_resource.h"extern void init_pkt_resources(void);extern QueryState *dns_get_querystate(void);extern void free_querystate(QueryState *);extern u_long dns_client_query_timeout(struct timeval *, dns_client_query_callback);extern QueryState *search_wait_list_id(U16);extern QueryState *search_wait_list_reply(ATMOS_MESSAGE *); extern nslook_t *dns_hent_alloc(void);extern void dns_hent_free(nslook_t *);extern void dns_hent_msg_free(ATMOS_MESSAGE *);extern void dns_hent_host_free(struct dns_hostent *); extern nslook_t *dns_nslkup_alloc(void);extern void dns_nslkup_free(nslook_t *);extern void dns_nslkup_msg_free(ATMOS_MESSAGE *);extern void dns_nslkup_host_free(struct dns_hostent *);extern BOOL dns_nslkup_locate(ATMOS_MESSAGE *);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -