Name
ap_pgethostbyname — resolve a hostname
Synopsis
struct hostent *ap_pgethostbyname(pool *p, const char *hostname)
Essentially does the same as the standard function
gethostbyname()
, except that the result is
allocated in p
instead of being temporary.