diff --git a/include/resolv.h b/include/resolv.h index 09fcfdfe..e12cb3c7 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -125,14 +125,12 @@ struct res_sym { struct __res_state *__res_state(void); #define _res (*__res_state()) -struct rrec; - int res_init(void); int res_query(const char *, int, int, unsigned char *, int); int res_querydomain(const char *, const char *, int, int, unsigned char *, int); int res_search(const char *, int, int, unsigned char *, int); -int res_mkquery(int, const char *, int, int, char *, int, struct rrec *, char *, int); -int res_send(const char *, int, char *, int); +int res_mkquery(int, const char *, int, int, const unsigned char *, int, const unsigned char*, unsigned char *, int); +int res_send(const unsigned char *, int, unsigned char *, int); int dn_comp(const char *, unsigned char *, int, unsigned char **, unsigned char **); int dn_expand(const unsigned char *, const unsigned char *, const unsigned char *, char *, int); int dn_skipname(const unsigned char *, const unsigned char *);