aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-12-10 17:50:34 -0800
committerGuy Harris <guy@alum.mit.edu>2014-12-11 01:51:07 +0000
commit9855beff31310162990131c70444fd2662a64b7c (patch)
tree13c43ded97ca8ea779391cbaf3535e540c4075c5 /epan/packet.h
parent144855ce6df8e5934c00ae3729eed708406c39b2 (diff)
Make the type of the second argument to a DATFunc_heur_table explicit.
It's always pased a heur_dissector_list_t *, so give it that type, rather than having it be a generic pointer. Change-Id: Ia6a045bb1b96c2f6ef3e23f27928e0b52f7cfb9f Reviewed-on: https://code.wireshark.org/review/5713 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/packet.h')
-rw-r--r--epan/packet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/packet.h b/epan/packet.h
index a7c66dcbc0..66cce73667 100644
--- a/epan/packet.h
+++ b/epan/packet.h
@@ -128,9 +128,6 @@ typedef void (*DATFunc_handle) (const gchar *table_name, gpointer value,
typedef void (*DATFunc_table) (const gchar *table_name, const gchar *ui_name,
gpointer user_data);
-typedef void (*DATFunc_heur_table) (const gchar *table_name,gpointer table,
- gpointer user_data);
-
/* Opaque structure - provides type checking but no access to components */
typedef struct dtbl_entry dtbl_entry_t;
@@ -359,6 +356,9 @@ typedef struct {
WS_DLL_PUBLIC void register_heur_dissector_list(const char *name,
heur_dissector_list_t *list);
+typedef void (*DATFunc_heur_table) (const gchar *table_name,
+ heur_dissector_list_t *table, gpointer user_data);
+
WS_DLL_PUBLIC void dissector_all_heur_tables_foreach_table (DATFunc_heur_table func,
gpointer user_data);