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

📄 ares_expand_name.3

📁 这是国外的resip协议栈
💻 3
字号:
.\".\" Copyright 1998 by the Massachusetts Institute of Technology..\".\" Permission to use, copy, modify, and distribute this.\" software and its documentation for any purpose and without.\" fee is hereby granted, provided that the above copyright.\" notice appear in all copies and that both that copyright.\" notice and this permission notice appear in supporting.\" documentation, and that the name of M.I.T. not be used in.\" advertising or publicity pertaining to distribution of the.\" software without specific, written prior permission..\" M.I.T. makes no representations about the suitability of.\" this software for any purpose.  It is provided "as is".\" without express or implied warranty..\".TH ARES_EXPAND_NAME 3 "23 July 1998".SH NAMEares_expand_name \- Expand a DNS-encoded domain name.SH SYNOPSIS.nf.B #include <ares.h>.PP.B int ares_expand_name(const unsigned char *\fIencoded\fP,.B	const unsigned char *\fIabuf\fP, int \fIalen\fP, char **\fIs\fP,.B 	int *\fIenclen\fP).fi.SH DESCRIPTIONThe.B ares_expand_namefunction converts a DNS-encoded domain name to a dot-separated Cstring.  The argument.I encodedgives the beginning of the encoded domain name, and the arguments.I abufand.I alengive the containing message buffer (necessary for the processing ofindirection pointers within the encoded domain name).  The result isplaced in a NUL-terminated allocated buffer, a pointer to which isstored in the variable pointed to by.IR s .The length of the encoded name is stored in the variable pointed to by.I enclenso that the caller can advance past the encoded domain name to readfurther data in the message..SH RETURN VALUES.B ares_expand_namecan return any of the following values:.TP 15.B ARES_SUCCESSExpansion of the encoded name succeeded..TP 15.B ARES_EBADNAMEThe encoded domain name was malformed and could not be expanded..TP 15.B ARES_ENOMEMMemory was exhausted..SH SEE ALSO.BR ares_mkquery (3).SH AUTHORGreg Hudson, MIT Information Systems.brCopyright 1998 by the Massachusetts Institute of Technology.

⌨️ 快捷键说明

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