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

📄 stub.h

📁 bind 9.3结合mysql数据库
💻 H
字号:
/* $Id: stub.h,v 1.1.1.1 2003/06/04 00:27:13 marka Exp $ */#ifndef STUB_H#define STUB_H#ifdef HAVE_GETHOSTBYNAMEextern struct hostent *idn_stub_gethostbyname(const char *name);#endif#ifdef GETHOST_R_GLIBC_FLAVOR#ifdef HAVE_GETHOSTBYNAME_Rextern intidn_stub_gethostbyname_r(const char *name, struct hostent *result,			 char *buffer, size_t buflen,			 struct hostent **rp, int *errp);#endif#else /* GETHOST_R_GLIBC_FLAVOR */#ifdef HAVE_GETHOSTBYNAME_Rextern struct hostent *idn_stub_gethostbyname_r(const char *name, struct hostent *result,			 char *buffer, int buflen, int *errp);#endif#endif /* GETHOST_R_GLIBC_FLAVOR */#ifdef HAVE_GETHOSTBYNAME2extern struct hostent *idn_stub_gethostbyname2(const char *name, int af);#endif#ifdef GETHOST_R_GLIBC_FLAVOR#ifdef HAVE_GETHOSTBYNAME2_Rextern intidn_stub_gethostbyname2_r(const char *name, int af, struct hostent *result,			  char *buffer, size_t buflen,			  struct hostent **rp, int *errp);#endif#endif /* GETHOST_R_GLIBC_FLAVOR */#ifdef HAVE_GETHOSTBYADDRextern struct hostent *idn_stub_gethostbyaddr(GHBA_ADDR_T addr, GHBA_ADDRLEN_T len, int type);#endif#ifdef GETHOST_R_GLIBC_FLAVOR#ifdef HAVE_GETHOSTBYADDR_Rextern intidn_stub_gethostbyaddr_r(GHBA_ADDR_T addr, GHBA_ADDRLEN_T len, int type,			 struct hostent *result, char *buffer,			 size_t buflen, struct hostent **rp, int *errp);#endif#else /* GETHOST_R_GLIBC_FLAVOR */#ifdef HAVE_GETHOSTBYADDR_Rextern struct hostent *idn_stub_gethostbyaddr_r(GHBA_ADDR_T addr, GHBA_ADDRLEN_T len, int type,			 struct hostent *result, char *buffer,			 int buflen, int *errp);#endif#endif /* GETHOST_R_GLIBC_FLAVOR */#ifdef HAVE_GETIPNODEBYNAMEextern struct hostent *idn_stub_getipnodebyname(const char *name, int af, int flags, int *errp);#endif#ifdef HAVE_GETIPNODEBYADDRextern struct hostent *idn_stub_getipnodebyaddr(const void *src, size_t len, int af, int *errp);#endif#ifdef HAVE_FREEHOSTENTextern voididn_stub_freehostent(struct hostent *hp);#endif#ifdef HAVE_GETADDRINFOextern intidn_stub_getaddrinfo(const char *nodename, const char *servname,		     const struct addrinfo *hints, struct addrinfo **res);#endif#ifdef HAVE_FREEADDRINFOextern voididn_stub_freeaddrinfo(struct addrinfo *aip);#endif#ifdef HAVE_GETNAMEINFOextern intidn_stub_getnameinfo(const struct sockaddr *sa, GNI_SALEN_T salen,		     char *host, GNI_HOSTLEN_T hostlen, char *serv,		     GNI_SERVLEN_T servlen, GNI_FLAGS_T flags);#endif#endif /* STUB_H */

⌨️ 快捷键说明

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