|
Classes |
struct | WSPIAPI_FUNCTION |
Defines |
#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_FUNCTION_ARRAY |
Typedefs |
typedef IN const char * | servname |
typedef IN const char IN const
struct addrinfo * | hints |
typedef IN const char IN const
struct addrinfo OUT struct
addrinfo ** | res |
typedef IN socklen_t | salen |
typedef IN socklen_t OUT char * | host |
typedef IN socklen_t OUT char
IN size_t | hostlen |
typedef IN socklen_t OUT char
IN size_t OUT char * | serv |
typedef IN socklen_t OUT char
IN size_t OUT char IN size_t | servlen |
typedef IN socklen_t OUT char
IN size_t OUT char IN size_t
IN int | flags |
Functions |
typedef | int (WINAPI *WSPIAPI_PGETADDRINFO)(IN const char *nodename |
typedef | void (WINAPI *WSPIAPI_PFREEADDRINFO)(IN struct addrinfo *ai) |
__inline char *WINAPI | WspiapiStrdup (IN const char *pszString) |
__inline BOOL WINAPI | WspiapiParseV4Address (IN const char *pszAddress, OUT PDWORD pdwAddress) |
__inline struct addrinfo
*WINAPI | WspiapiNewAddrInfo (IN int iSocketType, IN int iProtocol, IN WORD wPort, IN DWORD dwAddress) |
__inline int WINAPI | WspiapiQueryDNS (IN const char *pszNodeName, IN int iSocketType, IN int iProtocol, IN WORD wPort, OUT char *pszAlias, OUT struct addrinfo **pptResult) |
__inline int WINAPI | WspiapiLookupNode (IN const char *pszNodeName, IN int iSocketType, IN int iProtocol, IN WORD wPort, IN BOOL bAI_CANONNAME, OUT struct addrinfo **pptResult) |
__inline int WINAPI | WspiapiClone (IN WORD wPort, IN struct addrinfo *ptResult) |
__inline void WINAPI | WspiapiLegacyFreeAddrInfo (IN struct addrinfo *ptHead) |
__inline int WINAPI | WspiapiLegacyGetAddrInfo (IN const char *pszNodeName, IN const char *pszServiceName, IN const struct addrinfo *ptHints, OUT struct addrinfo **pptResult) |
__inline int WINAPI | WspiapiLegacyGetNameInfo (IN const struct sockaddr *ptSocketAddress, IN socklen_t tSocketLength, OUT char *pszNodeName, IN size_t tNodeLength, OUT char *pszServiceName, IN size_t tServiceLength, IN int iFlags) |
__inline FARPROC WINAPI | WspiapiLoad (IN WORD wFunction) |
__inline int WINAPI | WspiapiGetAddrInfo (IN const char *nodename, IN const char *servname, IN const struct addrinfo *hints, OUT struct addrinfo **res) |
__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) |
__inline void WINAPI | WspiapiFreeAddrInfo (IN struct addrinfo *ai) |