Eneboo - Documentación para desarrolladores
|
#include "c.h"
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/file.h>
#include "libpq/ip.h"
Funciones | |
int | pg_getaddrinfo_all (const char *hostname, const char *servname, const struct addrinfo *hintp, struct addrinfo **result) |
void | pg_freeaddrinfo_all (int hint_ai_family, struct addrinfo *ai) |
int | pg_getnameinfo_all (const struct sockaddr_storage *addr, int salen, char *node, int nodelen, char *service, int servicelen, int flags) |
int | pg_range_sockaddr (const struct sockaddr_storage *addr, const struct sockaddr_storage *netaddr, const struct sockaddr_storage *netmask) |
int | pg_sockaddr_cidr_mask (struct sockaddr_storage *mask, char *numbits, int family) |
void | pg_promote_v4_to_v6_addr (struct sockaddr_storage *addr) |
void | pg_promote_v4_to_v6_mask (struct sockaddr_storage *addr) |
int pg_getaddrinfo_all | ( | const char * | hostname, |
const char * | servname, | ||
const struct addrinfo * | hintp, | ||
struct addrinfo ** | result | ||
) |
int pg_getnameinfo_all | ( | const struct sockaddr_storage * | addr, |
int | salen, | ||
char * | node, | ||
int | nodelen, | ||
char * | service, | ||
int | servicelen, | ||
int | flags | ||
) |
void pg_promote_v4_to_v6_addr | ( | struct sockaddr_storage * | addr | ) |
void pg_promote_v4_to_v6_mask | ( | struct sockaddr_storage * | addr | ) |
int pg_range_sockaddr | ( | const struct sockaddr_storage * | addr, |
const struct sockaddr_storage * | netaddr, | ||
const struct sockaddr_storage * | netmask | ||
) |
int pg_sockaddr_cidr_mask | ( | struct sockaddr_storage * | mask, |
char * | numbits, | ||
int | family | ||
) |