X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fresolv.h;h=8b23ad66cc7613a68e670c95c2b409273fdc05a5;hb=760f5d7efed4d4761875334f8c4e6398be308cc9;hp=259e4bc1ee47a0a5616bb92c1220d15913f78839;hpb=fcc522c92335783293ac19df318415cd97fbf66b;p=musl diff --git a/include/resolv.h b/include/resolv.h index 259e4bc1..8b23ad66 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -61,7 +61,7 @@ typedef struct __res_state { } _u; } *res_state; -#define __RES 19991006 +#define __RES 19960801 #ifndef _PATH_RESCONF #define _PATH_RESCONF "/etc/resolv.conf" @@ -125,15 +125,13 @@ 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 dn_comp(unsigned char *, unsigned char *, int, unsigned char **, unsigned char *, unsigned char **); +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 *);