33 lines
532 B
C
33 lines
532 B
C
/* $NetBSD: __res_send.c,v 1.2 1997/04/22 18:51:55 cgd Exp $ */
|
|
|
|
/*
|
|
* written by matthew green, 22/04/97.
|
|
* public domain.
|
|
*/
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
#ifdef __indr_reference
|
|
__indr_reference(__res_send,res_send);
|
|
#else
|
|
|
|
#include <sys/types.h>
|
|
#include <netinet/in.h>
|
|
#include <resolv.h>
|
|
|
|
extern int __res_send __P((const u_char *, int, u_char *, int));
|
|
|
|
#undef res_send
|
|
int
|
|
res_send(buf, buflen, ans, anssiz)
|
|
const u_char *buf;
|
|
int buflen;
|
|
u_char *ans;
|
|
int anssiz;
|
|
{
|
|
|
|
return __res_send(buf, buflen, ans, anssiz);
|
|
}
|
|
|
|
#endif
|