aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-02-11 20:13:36 -0500
committerAnders Broman <a.broman58@gmail.com>2015-02-12 07:31:05 +0000
commit297ef07b9b2f5b681234d0c31269996413262cbc (patch)
treedcd8a243e2e7cc228af511678dc4d93eade9f8bc /epan/addr_resolv.h
parentd3d0a0a802d3e4cc404fa533c5d6aef04315b2b4 (diff)
"Hide" hashether_t structure.
One use in a GUI function isn't really enough to justify making the structure public. Change-Id: I6d70b9bacbc0fa1898150f59c0c69779a6cd5d51 Reviewed-on: https://code.wireshark.org/review/7074 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/addr_resolv.h')
-rw-r--r--epan/addr_resolv.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/epan/addr_resolv.h b/epan/addr_resolv.h
index 56e61a6ba8..eda5885bb8 100644
--- a/epan/addr_resolv.h
+++ b/epan/addr_resolv.h
@@ -56,13 +56,8 @@ typedef struct _e_addr_resolve {
gboolean load_hosts_file_from_profile_only;
} e_addr_resolve;
-
-typedef struct hashether {
- guint status; /* (See above) */
- guint8 addr[6];
- char hexaddr[6*3];
- char resolved_name[MAXNAMELEN];
-} hashether_t;
+struct hashether;
+typedef struct hashether hashether_t;
typedef struct serv_port {
gchar *udp_name;
@@ -224,6 +219,10 @@ extern const gchar *eui64_to_display(wmem_allocator_t *allocator, const guint64
* or a string formatted with "%X" if not */
extern const gchar *get_ipxnet_name(wmem_allocator_t *allocator, const guint32 addr);
+WS_DLL_PUBLIC guint get_hash_ether_status(hashether_t* ether);
+WS_DLL_PUBLIC char* get_hash_ether_hexaddr(hashether_t* ether);
+WS_DLL_PUBLIC char* get_hash_ether_resolved_name(hashether_t* ether);
+
/* returns the ethernet address corresponding to name or NULL if not known */
extern guint8 *get_ether_addr(const gchar *name);