RTEMS CPU Kit with SuperCore
Macros | Functions
res_query.c File Reference
#include <sys/types.h>
#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <ctype.h>
#include <errno.h>
#include <netdb.h>
#include <resolv.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "res_config.h"
Include dependency graph for res_query.c:

Macros

#define MAXPACKET   1024
 

Functions

int res_query (const char *name, int class, int type, u_char *answer, int anslen)
 
int res_search (const char *name, int class, int type, u_char *answer, int anslen)
 
int res_querydomain (const char *name, const char *domain, int class, int type, u_char *answer, int anslen)
 
const char * hostalias (const char *name)