summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-rpc.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-07-01 07:33:02 -0400
committerAnders Broman <a.broman58@gmail.com>2015-07-02 08:54:10 +0000
commitb68a0ed42e26aaa7f30b47657311c187c8e02114 (patch)
tree0731ab045fd6d7a43c2a9a8d280d0c4a9e2ac3e7 /epan/dissectors/packet-rpc.h
parent9d8b81012700bda095418dd7f1f7d15b94809cab (diff)
downloadwireshark-b68a0ed42e26aaa7f30b47657311c187c8e02114.tar.gz
Replace RPC "dissect_function_t" function signature with "new style" dissector function signature.
This paves the way for using dissector tables. Change-Id: I88ac165ef9aa5bf5c05e1115f7321e18e734d683 Reviewed-on: https://code.wireshark.org/review/9453 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-rpc.h')
-rw-r--r--epan/dissectors/packet-rpc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-rpc.h b/epan/dissectors/packet-rpc.h
index 187445fe32..2a74a2eeb2 100644
--- a/epan/dissectors/packet-rpc.h
+++ b/epan/dissectors/packet-rpc.h
@@ -136,8 +136,8 @@ typedef int (dissect_function_t)(tvbuff_t *tvb, int offset, packet_info *pinfo,
typedef struct _vsff {
guint32 value;
const gchar *strptr;
- dissect_function_t *dissect_call;
- dissect_function_t *dissect_reply;
+ new_dissector_t dissect_call;
+ new_dissector_t dissect_reply;
} vsff;
extern const value_string rpc_auth_flavor[];
@@ -213,8 +213,8 @@ typedef struct _rpc_proc_info_key {
typedef struct _rpc_proc_info_value {
const gchar *name;
- dissect_function_t *dissect_call;
- dissect_function_t *dissect_reply;
+ new_dissector_t dissect_call;
+ new_dissector_t dissect_reply;
} rpc_proc_info_value;
/* rpc_procs is also used in tap. With MSVC and a