aboutsummaryrefslogtreecommitdiff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-27 20:25:30 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-27 20:25:30 +0000
commit784d802ea2b7f156f59e86b77d4f17ea9effaaba (patch)
treec4e2340421fa8c6d0cf63ca3c3145736332a7eef /include/resolv.h
parentce351e07c964925c22d365ce653639aebea55350 (diff)
downloadglibc-784d802ea2b7f156f59e86b77d4f17ea9effaaba.zip
glibc-784d802ea2b7f156f59e86b77d4f17ea9effaaba.tar.gz
glibc-784d802ea2b7f156f59e86b77d4f17ea9effaaba.tar.bz2
Update.
* include/setjmp.h: Likewise.
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/resolv.h b/include/resolv.h
index b416764..fe79c16 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -9,4 +9,22 @@
while (0)
#include <resolv/resolv.h>
+
+/* Now define the internal interfaces. */
+extern int __res_vinit (res_state, int);
+extern void _sethtent (int);
+extern void _endhtent (void);
+extern struct hostent *_gethtent (void);
+extern struct hostent *_gethtbyname (const char *__name);
+extern struct hostent *_gethtbyname2 (const char *__name, int __af);
+struct hostent *_gethtbyaddr (const char *addr, size_t __len, int __af);
+extern u_int32_t _getlong (const u_char *__src);
+extern u_int16_t _getshort (const u_char *__src);
+extern void res_pquery (const res_state __statp, const u_char *__msg,
+ int __len, FILE *__file);
+extern void res_send_setqhook (res_send_qhook __hook);
+extern void res_send_setrhook (res_send_rhook __hook);
+extern int res_ourserver_p (const res_state __statp,
+ const struct sockaddr_in6 *__inp);
+
#endif