1997-04-22 22:51:53 +04:00
|
|
|
/* $NetBSD: __res_send.c,v 1.2 1997/04/22 18:51:55 cgd Exp $ */
|
1997-04-22 10:55:36 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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>
|
1997-04-22 22:51:53 +04:00
|
|
|
#include <netinet/in.h>
|
1997-04-22 10:55:36 +04:00
|
|
|
#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
|