|
RTEMS CPU Kit with SuperCore
|
#include <sys/param.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <netdb.h>#include <stdio.h>#include <ctype.h>#include <errno.h>#include <string.h>#include <arpa/nameser.h>#include <resolv.h>
Macros | |
| #define | _PATH_HOSTCONF "/etc/host.conf" |
| #define | SERVICE_MAX SERVICE_NIS |
Enumerations | |
| enum | service_type { SERVICE_NONE = 0, SERVICE_BIND, SERVICE_HOSTS, SERVICE_NIS, SERVICE_NONE = 0, SERVICE_BIND, SERVICE_TABLE, SERVICE_NIS } |
Functions | |
| struct hostent * | gethostbyname (const char *name) |
| struct hostent * | gethostbyname2 (const char *name, int type) |
| int | gethostbyaddr_r (const void *addr, socklen_t len, int type, struct hostent *ret, char *buf, size_t buflen, struct hostent **result, int *h_errnop) |
| struct hostent * | gethostbyaddr (const void *addr, socklen_t len, int type) |
| void | sethostent (int stayopen) |
| void | endhostent (void) |
1.8.13