diff options
author | Michael Mann <mmann78@netscape.net> | 2013-12-17 17:32:20 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-12-17 17:32:20 +0000 |
commit | 69ac243b07bc79cddc5c23fd7e1d6711324a3611 (patch) | |
tree | 1b7b90df4edf79fe1d287c47639014cf45061c73 /epan/dissectors/packet-zbee-zcl.h | |
parent | 79d336c66407d3fabc18e9d7cd7f4ecdb52166ce (diff) |
General cleanup of ZBEE ZCL dissector. Removed unnecessary casts and wrapping functions.
Tried to remove zcl_cluster_id global, but it's used in a function that is called by other dissectors that I'm not sure if they are expecting the zcl_cluster_id to be "saved" (or if -1 could be passed in for cluster id from those dissectors). Removed as many uses of it as possible if someone knows the dissectors better to make that call.
svn path=/trunk/; revision=54186
Diffstat (limited to 'epan/dissectors/packet-zbee-zcl.h')
-rw-r--r-- | epan/dissectors/packet-zbee-zcl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-zbee-zcl.h b/epan/dissectors/packet-zbee-zcl.h index 6b7651fd9a..0c12b335dd 100644 --- a/epan/dissectors/packet-zbee-zcl.h +++ b/epan/dissectors/packet-zbee-zcl.h @@ -196,8 +196,8 @@ typedef struct _zbee_zcl_cluster_desc { extern const value_string zbee_zcl_short_data_type_names[]; /* Dissector functions */ -extern void dissect_zcl_write_attr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset); -extern void dissect_zcl_read_attr_resp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset); +extern void dissect_zcl_write_attr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id); +extern void dissect_zcl_read_attr_resp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint *offset, guint16 cluster_id); /* Helper functions */ void decode_zcl_time_in_seconds (gchar *s, guint16 value); |