|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Functions | |
| 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) |
| void pg_freeaddrinfo_all | ( | int | hint_ai_family, |
| struct addrinfo * | ai | ||
| ) |
Definition at line 85 of file ip.c.
References free.
Referenced by ident_inet(), ListenServerPort(), parse_hba_auth_opt(), parse_hba_line(), PerformRadiusTransaction(), and PQconnectPoll().
| int pg_getaddrinfo_all | ( | const char * | hostname, |
| const char * | servname, | ||
| const struct addrinfo * | hintp, | ||
| struct addrinfo ** | result | ||
| ) |
Definition at line 56 of file ip.c.
References getaddrinfo_unix(), and hostname.
Referenced by ident_inet(), ListenServerPort(), parse_hba_auth_opt(), parse_hba_line(), PerformRadiusTransaction(), and PQconnectPoll().
| int pg_getnameinfo_all | ( | const struct sockaddr_storage * | addr, |
| int | salen, | ||
| char * | node, | ||
| int | nodelen, | ||
| char * | service, | ||
| int | servicelen, | ||
| int | flags | ||
| ) |
Definition at line 117 of file ip.c.
References getnameinfo_unix(), and strlcpy().
Referenced by BackendInitialize(), check_hostname(), ClientAuthentication(), emitHostIdentityInfo(), fill_hba_line(), ident_inet(), inet_client_addr(), inet_client_port(), inet_server_addr(), inet_server_port(), ListenServerPort(), log_status_format(), pg_stat_get_activity(), pg_stat_get_backend_client_addr(), and pg_stat_get_backend_client_port().