- #ifdef __cplusplus
- extern "C" {
- #endif
- struct hostent *
- gethostbyaddr_r (const char *addr, int length, int type,
- struct hostent *result, char *buffer, int buflen,
- int *h_errnop);
- struct hostent *
- gethostbyname_r (const char *name,
- struct hostent *result, char *buffer, int buflen,
- int *h_errnop);
- struct hostent *
- gethostent_r (struct hostent *result, char *buffer, int buflen,
- int *h_errnop);
- #ifdef __cplusplus
- }
- #endif