Classes | Macros | Typedefs | Functions
win/getaddrinfo.c File Reference
#include <assert.h>
#include "uv.h"
#include "internal.h"
#include "req-inl.h"
#include "idna.h"
#include <winsock2.h>
#include <iphlpapi.h>
Include dependency graph for win/getaddrinfo.c:

Go to the source code of this file.

Classes

struct  addrinfoW
 

Macros

#define ALIGNED_SIZE(X)   ((((X) + 3) >> 2) << 2)
 
#define NDIS_IF_MAX_STRING_SIZE   IF_MAX_STRING_SIZE
 

Typedefs

typedef struct addrinfoW ADDRINFOW
 
typedef struct addrinfoWPADDRINFOW
 

Functions

DECLSPEC_IMPORT void WSAAPI FreeAddrInfoW (PADDRINFOW pAddrInfo)
 
DECLSPEC_IMPORT int WSAAPI GetAddrInfoW (const WCHAR *node, const WCHAR *service, const ADDRINFOW *hints, PADDRINFOW *result)
 
static void uv__getaddrinfo_done (struct uv__work *w, int status)
 
int uv__getaddrinfo_translate_error (int sys_err)
 
static void uv__getaddrinfo_work (struct uv__work *w)
 
void uv_freeaddrinfo (struct addrinfo *ai)
 
int uv_getaddrinfo (uv_loop_t *loop, uv_getaddrinfo_t *req, uv_getaddrinfo_cb getaddrinfo_cb, const char *node, const char *service, const struct addrinfo *hints)
 
int uv_if_indextoiid (unsigned int ifindex, char *buffer, size_t *size)
 
int uv_if_indextoname (unsigned int ifindex, char *buffer, size_t *size)
 

Macro Definition Documentation

◆ ALIGNED_SIZE

#define ALIGNED_SIZE (   X)    ((((X) + 3) >> 2) << 2)

Definition at line 77 of file win/getaddrinfo.c.

◆ NDIS_IF_MAX_STRING_SIZE

#define NDIS_IF_MAX_STRING_SIZE   IF_MAX_STRING_SIZE

Definition at line 80 of file win/getaddrinfo.c.

Typedef Documentation

◆ ADDRINFOW

typedef struct addrinfoW ADDRINFOW

◆ PADDRINFOW

typedef struct addrinfoW * PADDRINFOW

Function Documentation

◆ FreeAddrInfoW()

DECLSPEC_IMPORT void WSAAPI FreeAddrInfoW ( PADDRINFOW  pAddrInfo)

◆ GetAddrInfoW()

DECLSPEC_IMPORT int WSAAPI GetAddrInfoW ( const WCHAR *  node,
const WCHAR *  service,
const ADDRINFOW hints,
PADDRINFOW result 
)

◆ uv__getaddrinfo_done()

static void uv__getaddrinfo_done ( struct uv__work w,
int  status 
)
static

Definition at line 105 of file win/getaddrinfo.c.

◆ uv__getaddrinfo_translate_error()

int uv__getaddrinfo_translate_error ( int  sys_err)

Definition at line 35 of file win/getaddrinfo.c.

◆ uv__getaddrinfo_work()

static void uv__getaddrinfo_work ( struct uv__work w)
static

Definition at line 83 of file win/getaddrinfo.c.

◆ uv_freeaddrinfo()

void uv_freeaddrinfo ( struct addrinfo ai)

Definition at line 236 of file win/getaddrinfo.c.

◆ uv_getaddrinfo()

int uv_getaddrinfo ( uv_loop_t loop,
uv_getaddrinfo_t req,
uv_getaddrinfo_cb  getaddrinfo_cb,
const char *  node,
const char *  service,
const struct addrinfo hints 
)

Definition at line 257 of file win/getaddrinfo.c.

◆ uv_if_indextoiid()

int uv_if_indextoiid ( unsigned int  ifindex,
char *  buffer,
size_t *  size 
)

Definition at line 445 of file win/getaddrinfo.c.

◆ uv_if_indextoname()

int uv_if_indextoname ( unsigned int  ifindex,
char *  buffer,
size_t *  size 
)

Definition at line 399 of file win/getaddrinfo.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:13