RetroArch
Classes | Macros | Typedefs | Functions
netdb.h File Reference
#include <stdint.h>
Include dependency graph for netdb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  addrinfo
 

Macros

#define NI_NUMERICHOST   2
 
#define NI_NUMERICSERV   8
 
#define AI_PASSIVE   1
 
#define NI_MAXHOST   1025
 
#define NI_MAXSERV   32
 

Typedefs

typedef uint32_t socklen_t
 

Functions

int getaddrinfo (const char *node, const char *service, struct addrinfo *hints, struct addrinfo **res)
 
void freeaddrinfo (struct addrinfo *__ai)
 
int getnameinfo (const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags)
 

Macro Definition Documentation

◆ AI_PASSIVE

#define AI_PASSIVE   1

◆ NI_MAXHOST

#define NI_MAXHOST   1025

◆ NI_MAXSERV

#define NI_MAXSERV   32

◆ NI_NUMERICHOST

#define NI_NUMERICHOST   2

◆ NI_NUMERICSERV

#define NI_NUMERICSERV   8

Typedef Documentation

◆ socklen_t

Function Documentation

◆ freeaddrinfo()

void freeaddrinfo ( struct addrinfo __ai)
Here is the caller graph for this function:

◆ getaddrinfo()

int getaddrinfo ( const char *  node,
const char *  service,
struct addrinfo hints,
struct addrinfo **  res 
)
Here is the caller graph for this function:

◆ getnameinfo()

int getnameinfo ( const struct sockaddr sa,
socklen_t  salen,
char *  host,
socklen_t  hostlen,
char *  serv,
socklen_t  servlen,
int  flags 
)
Here is the caller graph for this function: