| Postfix3.3.1
    | 
#include <sys_defs.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <netdb.h>#include <string.h>#include <errno.h>#include <stdlib.h>#include <stdio.h>#include <mymalloc.h>#include <valid_hostname.h>#include <sock_addr.h>#include <stringops.h>#include <msg.h>#include <inet_proto.h>#include <myaddrinfo.h>#include <split_at.h>| データ構造 | |
| struct | ipv4addrinfo | 
| マクロ定義 | |
| #define | MAI_SOCKTYPE SOCK_STREAM /* getaddrinfo() query */ | 
| 関数 | |
| int | hostname_to_sockaddr_pf (const char *hostname, int pf, const char *service, int socktype, struct addrinfo **res) | 
| int | hostaddr_to_sockaddr (const char *hostaddr, const char *service, int socktype, struct addrinfo **res) | 
| int | sockaddr_to_hostaddr (const struct sockaddr *sa, SOCKADDR_SIZE salen, MAI_HOSTADDR_STR *hostaddr, MAI_SERVPORT_STR *portnum, int unused_socktype) | 
| int | sockaddr_to_hostname (const struct sockaddr *sa, SOCKADDR_SIZE salen, MAI_HOSTNAME_STR *hostname, MAI_SERVNAME_STR *service, int socktype) | 
| void | myaddrinfo_control (int name,...) | 
| void | freeaddrinfo (struct addrinfo *ai) | 
| char * | gai_strerror (int ecode) | 
| #define MAI_SOCKTYPE SOCK_STREAM /* getaddrinfo() query */ | 
myaddrinfo.c の 226 行目に定義があります。
| void freeaddrinfo | ( | struct addrinfo * | ai | ) | 
myaddrinfo.c の 742 行目に定義があります。
| char* gai_strerror | ( | int | ecode | ) | 
myaddrinfo.c の 779 行目に定義があります。
| int hostaddr_to_sockaddr | ( | const char * | hostaddr, | 
| const char * | service, | ||
| int | socktype, | ||
| struct addrinfo ** | res | ||
| ) | 
myaddrinfo.c の 464 行目に定義があります。
| int hostname_to_sockaddr_pf | ( | const char * | hostname, | 
| int | pf, | ||
| const char * | service, | ||
| int | socktype, | ||
| struct addrinfo ** | res | ||
| ) | 
myaddrinfo.c の 295 行目に定義があります。
| void myaddrinfo_control | ( | int | name, | 
| ... | |||
| ) | 
myaddrinfo.c の 724 行目に定義があります。
| int sockaddr_to_hostaddr | ( | const struct sockaddr * | sa, | 
| SOCKADDR_SIZE | salen, | ||
| MAI_HOSTADDR_STR * | hostaddr, | ||
| MAI_SERVPORT_STR * | portnum, | ||
| int | unused_socktype | ||
| ) | 
myaddrinfo.c の 580 行目に定義があります。
| int sockaddr_to_hostname | ( | const struct sockaddr * | sa, | 
| SOCKADDR_SIZE | salen, | ||
| MAI_HOSTNAME_STR * | hostname, | ||
| MAI_SERVNAME_STR * | service, | ||
| int | socktype | ||
| ) | 
myaddrinfo.c の 631 行目に定義があります。
 1.8.9.1
 1.8.9.1