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

📄 resolv.h

📁 bind 9.3结合mysql数据库
💻 H
📖 第 1 页 / 共 2 页
字号:
#define	RES_NOCHECKNAME	0x00008000	/* do not check names for sanity. */#define	RES_KEEPTSIG	0x00010000	/* do not strip TSIG records */#define	RES_BLAST	0x00020000	/* blast all recursive servers */#define RES_NOTLDQUERY	0x00100000	/* don't unqualified name as a tld */#define RES_USE_DNSSEC	0x00200000	/* use DNSSEC using OK bit in OPT *//* #define RES_DEBUG2	0x00400000 */	/* nslookup internal *//* KAME extensions: use higher bit to avoid conflict with ISC use */#define RES_USE_DNAME	0x10000000	/* use DNAME */#define RES_USE_EDNS0	0x40000000	/* use EDNS0 if configured */#define RES_NO_NIBBLE2	0x80000000	/* disable alternate nibble lookup */#define RES_DEFAULT	(RES_RECURSE | RES_DEFNAMES | \			 RES_DNSRCH | RES_NO_NIBBLE2)/* * Resolver "pfcode" values.  Used by dig. */#define RES_PRF_STATS	0x00000001#define RES_PRF_UPDATE	0x00000002#define RES_PRF_CLASS   0x00000004#define RES_PRF_CMD	0x00000008#define RES_PRF_QUES	0x00000010#define RES_PRF_ANS	0x00000020#define RES_PRF_AUTH	0x00000040#define RES_PRF_ADD	0x00000080#define RES_PRF_HEAD1	0x00000100#define RES_PRF_HEAD2	0x00000200#define RES_PRF_TTLID	0x00000400#define RES_PRF_HEADX	0x00000800#define RES_PRF_QUERY	0x00001000#define RES_PRF_REPLY	0x00002000#define RES_PRF_INIT	0x00004000#define RES_PRF_TRUNC	0x00008000/*			0x00010000	*//* Things involving an internal (static) resolver context. */#ifdef _REENTRANT__BEGIN_DECLSextern struct __res_state *__res_state(void);__END_DECLS#define _res (*__res_state())#else#ifndef __BIND_NOSTATICextern struct __res_state _res;#endif#endif#ifndef __BIND_NOSTATIC#define fp_nquery		__fp_nquery#define fp_query		__fp_query#define hostalias		__hostalias#define p_query			__p_query#define res_close		__res_close#define res_init		__res_init#define res_isourserver		__res_isourserver#define res_mkquery		__res_mkquery#define res_query		__res_query#define res_querydomain		__res_querydomain#define res_search		__res_search#define res_send		__res_send#define res_sendsigned		__res_sendsigned__BEGIN_DECLSvoid		fp_nquery __P((const u_char *, int, FILE *));void		fp_query __P((const u_char *, FILE *));const char *	hostalias __P((const char *));void		p_query __P((const u_char *));void		res_close __P((void));int		res_init __P((void));int		res_isourserver __P((const struct sockaddr_in *));int		res_mkquery __P((int, const char *, int, int, const u_char *,				 int, const u_char *, u_char *, int));int		res_query __P((const char *, int, int, u_char *, int));int		res_querydomain __P((const char *, const char *, int, int,				     u_char *, int));int		res_search __P((const char *, int, int, u_char *, int));int		res_send __P((const u_char *, int, u_char *, int));int		res_sendsigned __P((const u_char *, int, ns_tsig_key *,				    u_char *, int));__END_DECLS#endif#if !defined(SHARED_LIBBIND) || defined(LIB)/* * If libbind is a shared object (well, DLL anyway) * these externs break the linker when resolv.h is  * included by a lib client (like named) * Make them go away if a client is including this * */extern const struct res_sym __p_key_syms[];extern const struct res_sym __p_cert_syms[];extern const struct res_sym __p_class_syms[];extern const struct res_sym __p_type_syms[];extern const struct res_sym __p_rcode_syms[];#endif /* SHARED_LIBBIND */#define b64_ntop		__b64_ntop#define b64_pton		__b64_pton#define dn_comp			__dn_comp#define dn_count_labels		__dn_count_labels#define dn_expand		__dn_expand#define dn_skipname		__dn_skipname#define fp_resstat		__fp_resstat#define loc_aton		__loc_aton#define loc_ntoa		__loc_ntoa#define p_cdname		__p_cdname#define p_cdnname		__p_cdnname#define p_class			__p_class#define p_fqname		__p_fqname#define p_fqnname		__p_fqnname#define p_option		__p_option#define p_secstodate		__p_secstodate#define p_section		__p_section#define p_time			__p_time#define p_type			__p_type#define p_rcode			__p_rcode#define p_sockun		__p_sockun#define putlong			__putlong#define putshort		__putshort#define res_dnok		__res_dnok#define res_findzonecut		__res_findzonecut#define res_findzonecut2	__res_findzonecut2#define res_hnok		__res_hnok#define res_hostalias		__res_hostalias#define res_mailok		__res_mailok#define res_nameinquery		__res_nameinquery#define res_nclose		__res_nclose#define res_ninit		__res_ninit#define res_nmkquery		__res_nmkquery#define res_pquery		__res_pquery#define res_nquery		__res_nquery#define res_nquerydomain	__res_nquerydomain#define res_nsearch		__res_nsearch#define res_nsend		__res_nsend#define res_nsendsigned		__res_nsendsigned#define res_nisourserver	__res_nisourserver#define res_ownok		__res_ownok#define res_queriesmatch	__res_queriesmatch#define res_randomid		__res_randomid#define sym_ntop		__sym_ntop#define sym_ntos		__sym_ntos#define sym_ston		__sym_ston#define res_nopt		__res_nopt#define res_ndestroy		__res_ndestroy#define	res_nametoclass		__res_nametoclass#define	res_nametotype		__res_nametotype#define	res_setservers		__res_setservers#define	res_getservers		__res_getservers#define	res_buildprotolist	__res_buildprotolist#define	res_destroyprotolist	__res_destroyprotolist#define	res_destroyservicelist	__res_destroyservicelist#define	res_get_nibblesuffix	__res_get_nibblesuffix#define	res_get_nibblesuffix2	__res_get_nibblesuffix2#define	res_ourserver_p		__res_ourserver_p#define	res_protocolname	__res_protocolname#define	res_protocolnumber	__res_protocolnumber#define	res_send_setqhook	__res_send_setqhook#define	res_send_setrhook	__res_send_setrhook#define	res_servicename		__res_servicename#define	res_servicenumber	__res_servicenumber__BEGIN_DECLSint		res_hnok __P((const char *));int		res_ownok __P((const char *));int		res_mailok __P((const char *));int		res_dnok __P((const char *));int		sym_ston __P((const struct res_sym *, const char *, int *));const char *	sym_ntos __P((const struct res_sym *, int, int *));const char *	sym_ntop __P((const struct res_sym *, int, int *));int		b64_ntop __P((u_char const *, size_t, char *, size_t));int		b64_pton __P((char const *, u_char *, size_t));int		loc_aton __P((const char *, u_char *));const char *	loc_ntoa __P((const u_char *, char *));int		dn_skipname __P((const u_char *, const u_char *));void		putlong __P((u_int32_t, u_char *));void		putshort __P((u_int16_t, u_char *));#ifndef __ultrix__u_int16_t	_getshort __P((const u_char *));u_int32_t	_getlong __P((const u_char *));#endifconst char *	p_class __P((int));const char *	p_time __P((u_int32_t));const char *	p_type __P((int));const char *	p_rcode __P((int));const char *	p_sockun __P((union res_sockaddr_union, char *, size_t));const u_char *	p_cdnname __P((const u_char *, const u_char *, int, FILE *));const u_char *	p_cdname __P((const u_char *, const u_char *, FILE *));const u_char *	p_fqnname __P((const u_char *, const u_char *,			       int, char *, int));const u_char *	p_fqname __P((const u_char *, const u_char *, FILE *));const char *	p_option __P((u_long));char *		p_secstodate __P((u_long));int		dn_count_labels __P((const char *));int		dn_comp __P((const char *, u_char *, int,			     u_char **, u_char **));int		dn_expand __P((const u_char *, const u_char *, const u_char *,			       char *, int));u_int		res_randomid __P((void));int		res_nameinquery __P((const char *, int, int, const u_char *,				     const u_char *));int		res_queriesmatch __P((const u_char *, const u_char *,				      const u_char *, const u_char *));const char *	p_section __P((int, int));/* Things involving a resolver context. */int		res_ninit __P((res_state));int		res_nisourserver __P((const res_state,				      const struct sockaddr_in *));void		fp_resstat __P((const res_state, FILE *));void		res_pquery __P((const res_state, const u_char *, int, FILE *));const char *	res_hostalias __P((const res_state, const char *,				   char *, size_t));int		res_nquery __P((res_state, const char *, int, int,				u_char *, int));int		res_nsearch __P((res_state, const char *, int, int, u_char *,				 int));int		res_nquerydomain __P((res_state, const char *, const char *,				      int, int, u_char *, int));int		res_nmkquery __P((res_state, int, const char *, int, int,				  const u_char *, int, const u_char *,				  u_char *, int));int		res_nsend __P((res_state, const u_char *, int, u_char *, int));int		res_nsendsigned __P((res_state, const u_char *, int,				     ns_tsig_key *, u_char *, int));int		res_findzonecut __P((res_state, const char *, ns_class, int,				     char *, size_t, struct in_addr *, int));int		res_findzonecut2 __P((res_state, const char *, ns_class, int,				      char *, size_t,				      union res_sockaddr_union *, int));void		res_nclose __P((res_state));int		res_nopt __P((res_state, int, u_char *, int, int));void		res_send_setqhook __P((res_send_qhook));void		res_send_setrhook __P((res_send_rhook));int		__res_vinit __P((res_state, int));void		res_destroyservicelist __P((void));const char *	res_servicename __P((u_int16_t, const char *));const char *	res_protocolname __P((int));void		res_destroyprotolist __P((void));void		res_buildprotolist __P((void));const char *	res_get_nibblesuffix __P((res_state));const char *	res_get_nibblesuffix2 __P((res_state));void		res_ndestroy __P((res_state));u_int16_t	res_nametoclass __P((const char *, int *));u_int16_t	res_nametotype __P((const char *, int *));void		res_setservers __P((res_state,				    const union res_sockaddr_union *, int));int		res_getservers __P((res_state,				    union res_sockaddr_union *, int));__END_DECLS#endif /* !_RESOLV_H_ */

⌨️ 快捷键说明

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