summaryrefslogtreecommitdiff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-02-26 03:49:32 +0000
committerDavid McCullough <davidm@snapgear.com>2001-02-26 03:49:32 +0000
commita7c7b0948eaf319c971e8c9f380df93ecf202eb1 (patch)
tree12277067e6f86fdbcc9fd5a726f39be8f6dab406 /include/resolv.h
parente173fa9173faff66b26e348f6e2571b139d0eab3 (diff)
Added res_init and res_query
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 4f6feed20..76b97945d 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -90,4 +90,8 @@ extern void close_nameservers(void);
extern struct hostent * gethostbyname(const char * name);
extern struct hostent * gethostbyaddr(const char * addr, int len, int type);
+extern int res_init(void);
+extern int res_query(const char *dname, int class, int type,
+ unsigned char *answer, int anslen);
+
#endif /*_RESOLV_H_*/