-#ifndef _RESOLV_H_
-#define _RESOLV_H_
+#ifndef _RESOLV_H
+#define _RESOLV_H
#include <stdint.h>
#include <arpa/nameser.h>
#define RES_PRF_REPLY 0x00002000
#define RES_PRF_INIT 0x00004000
-extern struct __res_state *__res_state(void);
+struct __res_state *__res_state(void);
#define _res (*__res_state())
struct rrec;
int res_send(const char *, int, char *, int);
int dn_comp(unsigned char *, unsigned char *, int, unsigned char **, unsigned char *, unsigned char **);
int dn_expand(unsigned char *, unsigned char *, unsigned char *, unsigned char *, int);
+int dn_skipname(const unsigned char *, const unsigned char *);
#ifdef __cplusplus
}