|
RTEMS CPU Kit with SuperCore
|
#include <sys/types.h>#include <sys/param.h>#include <sys/time.h>#include <sys/socket.h>#include <sys/uio.h>#include <netinet/in.h>#include <arpa/nameser.h>#include <arpa/inet.h>#include <errno.h>#include <netdb.h>#include <resolv.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <poll.h>#include "res_config.h"
Macros | |
| #define | USE_WRITEV |
| #define | CAN_RECONNECT 1 |
| #define | Dprint(cond, args) if (cond) {fprintf args;} else {} |
| #define | DprintQ(cond, args, query, size) |
Functions | |
| void | res_send_setqhook (res_send_qhook hook) |
| void | res_send_setrhook (res_send_rhook hook) |
| int | res_isourserver (const struct sockaddr_in *inp) |
| int | res_nameinquery (const char *name, int type, int class, const u_char *buf, const u_char *eom) |
| int | res_queriesmatch (const u_char *buf1, const u_char *eom1, const u_char *buf2, const u_char *eom2) |
| int | res_send (const u_char *buf, int buflen, u_char *ans, int anssiz) |
| void | res_close (void) |
| #define DprintQ | ( | cond, | |
| args, | |||
| query, | |||
| size | |||
| ) |
1.8.13