ReactOS 0.4.16-dev-336-gb667d82
|
Go to the source code of this file.
Classes | |
struct | WSPIAPI_FUNCTION |
Macros | |
#define | _WSPIAPI_STRCPY_S(_Dst, _Size, _Src) strcpy((_Dst), (_Src)) |
#define | _WSPIAPI_STRCAT_S(_Dst, _Size, _Src) strcat((_Dst), (_Src)) |
#define | _WSPIAPI_STRNCPY_S(_Dst, _Size, _Src, _Count) strncpy((_Dst), (_Src), (_Count)); (_Dst)[(_Size) - 1] = 0 |
#define | _WSPIAPI_SPRINTF_S_1(_Dst, _Size, _Format, _Arg1) sprintf((_Dst), (_Format), (_Arg1)) |
#define | _WSPIAPI_COUNTOF(_Array) (sizeof(_Array) / sizeof(_Array[0])) |
#define | WspiapiMalloc(tSize) calloc(1, (tSize)) |
#define | WspiapiFree(p) free(p) |
#define | WspiapiSwap(a, b, c) {(c) = (a); (a) = (b); (b) = (c);} |
#define | getaddrinfo WspiapiGetAddrInfo |
#define | getnameinfo WspiapiGetNameInfo |
#define | freeaddrinfo WspiapiFreeAddrInfo |
#define | WSPIAPI_INLINE static inline |
#define | WSPIAPI_FUNCTION_ARRAY |
Typedefs | |
typedef int(WINAPI * | WSPIAPI_PGETADDRINFO) (IN const char *nodename, IN const char *servname, IN const struct addrinfo *hints, OUT struct addrinfo **res) |
typedef int(WINAPI * | WSPIAPI_PGETNAMEINFO) (IN const struct sockaddr *sa, IN socklen_t salen, OUT char *host, IN size_t hostlen, OUT char *serv, IN size_t servlen, IN int flags) |
typedef void(WINAPI * | WSPIAPI_PFREEADDRINFO) (IN struct addrinfo *ai) |
#define freeaddrinfo WspiapiFreeAddrInfo |
#define getaddrinfo WspiapiGetAddrInfo |
#define getnameinfo WspiapiGetNameInfo |
#define WSPIAPI_FUNCTION_ARRAY |
Definition at line 225 of file wspiapi.h.
Referenced by WspiapiLegacyGetAddrInfo().
Definition at line 556 of file wspiapi.h.
WSPIAPI_INLINE int WINAPI WspiapiGetAddrInfo | ( | IN const char *nodename | OPTIONAL, |
IN const char *servname | OPTIONAL, | ||
IN const struct addrinfo *hints | OPTIONAL, | ||
OUT struct addrinfo ** | res | ||
) |
Definition at line 515 of file wspiapi.h.
WSPIAPI_INLINE int WINAPI WspiapiGetNameInfo | ( | IN const struct sockaddr * | sa, |
IN socklen_t | salen, | ||
OUT char * | host, | ||
IN size_t | hostlen, | ||
OUT char * | serv, | ||
IN size_t | servlen, | ||
IN int | flags | ||
) |
Definition at line 534 of file wspiapi.h.
Definition at line 248 of file wspiapi.h.
Referenced by WspiapiLegacyGetAddrInfo().
|
static |
Definition at line 264 of file wspiapi.h.
|
static |
Definition at line 364 of file wspiapi.h.
WSPIAPI_INLINE FARPROC WINAPI WspiapiLoad | ( | IN WORD | wFunction | ) |
Definition at line 453 of file wspiapi.h.
Referenced by WspiapiFreeAddrInfo(), WspiapiGetAddrInfo(), and WspiapiGetNameInfo().
FORCEINLINE int WINAPI WspiapiLookupNode | ( | IN const char * | pszNodeName, |
IN int | iSocketType, | ||
IN int | iProtocol, | ||
IN WORD | wPort, | ||
IN BOOL | bAI_CANONNAME, | ||
OUT struct addrinfo ** | pptResult | ||
) |
Definition at line 185 of file wspiapi.h.
Referenced by WspiapiLegacyGetAddrInfo().
FORCEINLINE struct addrinfo *WINAPI WspiapiNewAddrInfo | ( | IN int | iSocketType, |
IN int | iProtocol, | ||
IN WORD | wPort, | ||
IN DWORD | dwAddress | ||
) |
Definition at line 115 of file wspiapi.h.
Referenced by WspiapiClone(), WspiapiLegacyGetAddrInfo(), and WspiapiQueryDNS().
Definition at line 95 of file wspiapi.h.
Referenced by WspiapiLegacyGetAddrInfo().
FORCEINLINE int WINAPI WspiapiQueryDNS | ( | IN const char * | pszNodeName, |
IN int | iSocketType, | ||
IN int | iProtocol, | ||
IN WORD | wPort, | ||
OUT char | pszAlias[NI_MAXHOST], | ||
OUT struct addrinfo ** | pptResult | ||
) |
Definition at line 146 of file wspiapi.h.
Referenced by WspiapiLookupNode().
Definition at line 78 of file wspiapi.h.
Referenced by WspiapiLegacyGetAddrInfo(), and WspiapiLookupNode().