19#ifndef __PJ_ADDR_RESOLV_H__
20#define __PJ_ADDR_RESOLV_H__
74#define h_addr h_addr_list[0]
int pj_bool_t
Definition: types.h:71
int pj_status_t
Definition: types.h:68
pj_status_t pj_gethostip(int af, pj_sockaddr *addr)
pj_status_t pj_getipinterface(int af, const pj_str_t *dst, pj_sockaddr *itf_addr, pj_bool_t allow_resolve, pj_sockaddr *p_dst_addr)
pj_status_t pj_gethostbyname(const pj_str_t *name, pj_hostent *he)
pj_status_t pj_getaddrinfo(int af, const pj_str_t *name, unsigned *count, pj_addrinfo ai[])
pj_status_t pj_getdefaultipinterface(int af, pj_sockaddr *addr)
#define PJ_BEGIN_DECL
Definition: config.h:1284
#define PJ_MAX_HOSTNAME
Definition: config.h:660
#define PJ_END_DECL
Definition: config.h:1285
Definition: addr_resolv.h:80
char ai_canonname[PJ_MAX_HOSTNAME]
Definition: addr_resolv.h:81
pj_sockaddr ai_addr
Definition: addr_resolv.h:82
Definition: addr_resolv.h:65
char ** h_aliases
Definition: addr_resolv.h:67
char ** h_addr_list
Definition: addr_resolv.h:70
int h_addrtype
Definition: addr_resolv.h:68
int h_length
Definition: addr_resolv.h:69
char * h_name
Definition: addr_resolv.h:66