diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-05-05 08:20:01 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-05-05 08:20:01 +0000 |
commit | e08c61c446dda708333325779f55323dbe43575e (patch) | |
tree | cb86474456694a499f29f849d0a4fe3099cc0d77 /epan | |
parent | 39331bd89064d4c8f6c17589b79db290d8248258 (diff) |
Declare "host_name_lookup_process()" regardless of whether HAVE_GNU_ADNS
is defined (as it's defined, and called, regardless of whether
HAVE_GNU_ADNS is defined), and get rid of the extra declarations of the
ADNS support routines.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7644 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r-- | epan/resolv.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/epan/resolv.h b/epan/resolv.h index b5a5d2f921..5613e11db3 100644 --- a/epan/resolv.h +++ b/epan/resolv.h @@ -1,7 +1,7 @@ /* resolv.h * Definitions for network object lookup * - * $Id: resolv.h,v 1.12 2003/05/05 00:53:06 guy Exp $ + * $Id: resolv.h,v 1.13 2003/05/05 08:20:01 guy Exp $ * * Laurent Deniel <laurent.deniel@free.fr> * @@ -66,9 +66,17 @@ extern guchar *get_tcp_port(guint port); /* get_sctp_port returns the SCTP port name or "%u" if not found */ extern guchar *get_sctp_port(guint port); +/* + * Asynchronous host name lookup initialization, processing, and cleanup + */ + /* host_name_lookup_init fires up an ADNS socket if we're using ADNS */ extern void host_name_lookup_init(void); +/* host_name_lookup_process does ADNS processing in GTK+ timeouts in Ethereal, + and before processing each packet in Tethereal, if we're using ADNS */ +extern gint host_name_lookup_process(gpointer data); + /* host_name_lookup_cleanup cleans up an ADNS socket if we're using ADNS */ extern void host_name_lookup_cleanup(void); @@ -120,14 +128,4 @@ gboolean get_host_ipaddr(const char *host, guint32 *addrp); */ gboolean get_host_ipaddr6(const char *host, struct e_in6_addr *addrp); -/* - * Asynchronous host name lookup initialization, processing, and cleanup - */ - -#ifdef HAVE_GNU_ADNS -void host_name_lookup_init(); -gint host_name_lookup_process(gpointer data); -void host_name_lookup_cleanup(); -#endif - #endif /* __RESOLV_H__ */ |