aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-13 17:02:42 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-14 01:03:10 +0000
commitab784d60b3c550c909f8a90aa10fe7caef9292d6 (patch)
tree3471e834d01ca6b4d8561b26408409f7da1af281 /epan/packet.h
parente259f394b198a2e0a4cfdbb8ed1cff77f9b31bab (diff)
Rename new_dissector_t to dissector_t.
There are no longer any "old" dissectors, so "new_" is redundant. Change-Id: I5fee51228c2a8562166f5991e1f30c2c697e45c8 Reviewed-on: https://code.wireshark.org/review/13273 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/packet.h')
-rw-r--r--epan/packet.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/packet.h b/epan/packet.h
index 0bb96da3e2..f8e9ae9db0 100644
--- a/epan/packet.h
+++ b/epan/packet.h
@@ -86,7 +86,7 @@ typedef struct dissector_table *dissector_table_t;
* we need more data (e.g., from subsequent TCP segments) to
* dissect the entire PDU.
*/
-typedef int (*new_dissector_t)(tvbuff_t *, packet_info *, proto_tree *, void *);
+typedef int (*dissector_t)(tvbuff_t *, packet_info *, proto_tree *, void *);
/** Type of a heuristic dissector, used in heur_dissector_add().
*
@@ -495,7 +495,7 @@ WS_DLL_PUBLIC void heur_dissector_add(const char *name, heur_dissector_t dissect
WS_DLL_PUBLIC void heur_dissector_delete(const char *name, heur_dissector_t dissector, const int proto);
/** Register a new dissector. */
-WS_DLL_PUBLIC dissector_handle_t register_dissector(const char *name, new_dissector_t dissector, const int proto);
+WS_DLL_PUBLIC dissector_handle_t register_dissector(const char *name, dissector_t dissector, const int proto);
/** Deregister a dissector. */
void deregister_dissector(const char *name);
@@ -519,9 +519,9 @@ WS_DLL_PUBLIC dissector_handle_t find_dissector(const char *name);
WS_DLL_PUBLIC const char *dissector_handle_get_dissector_name(const dissector_handle_t handle);
/** Create an anonymous handle for a dissector. */
-WS_DLL_PUBLIC dissector_handle_t create_dissector_handle(new_dissector_t dissector,
+WS_DLL_PUBLIC dissector_handle_t create_dissector_handle(dissector_t dissector,
const int proto);
-WS_DLL_PUBLIC dissector_handle_t create_dissector_handle_with_name(new_dissector_t dissector,
+WS_DLL_PUBLIC dissector_handle_t create_dissector_handle_with_name(dissector_t dissector,
const int proto, const char* name);
/** Call a dissector through a handle and if no dissector was found