aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-01-18 13:02:30 +0000
committerGuy Harris <guy@alum.mit.edu>2004-01-18 13:02:30 +0000
commit49a7eb8e5f22b60624d494d549618968c0041d07 (patch)
tree785020423e7529f7bee0f4dd99060a8767e8b2ff /plugins
parent369528c7696e0c841379679115ddf87e87f76da5 (diff)
Add arguments to "dissect_xdlc_control()" to specify value_string
tables, for use in the top-level item for the control field, for unnumbered frame function codes for commands and responses. If the argument is null, default to the standard tables. Use "dissect_xdlc_control()" and the #defines from "xdlc.h" for IrDA. Use the reported length rather than the data length in the IrDA dissector when iterating over the data in an IrDA packet. Make "dissect_xid()" update the column information as well as the protocol tree. Put the slot number into the protocol tree only for command frames - "the slot number field is undefined in discovery XID response frames", to quote the IrLAP spec. svn path=/trunk/; revision=9716
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Xplugin_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Xplugin_table.h b/plugins/Xplugin_table.h
index 660808b322..1a3b675412 100644
--- a/plugins/Xplugin_table.h
+++ b/plugins/Xplugin_table.h
@@ -247,4 +247,4 @@ typedef int (*addr_asn1_id_decode1) (ASN1_SCK *, guint *);
typedef gboolean (*addr_col_get_writable) (column_info *);
typedef void (*addr_col_set_writable) (column_info *, gboolean);
typedef const char *(*addr_decode_enumerated_bitfield_shifted) (guint32, guint32, int, const value_string *, const char *);
-typedef int (*addr_dissect_xdlc_control) (tvbuff_t *, int, packet_info *, proto_tree *, int, gint, const xdlc_cf_items *, const xdlc_cf_items *, int, int, int);
+typedef int (*addr_dissect_xdlc_control) (tvbuff_t *, int, packet_info *, proto_tree *, int, gint, const xdlc_cf_items *, const xdlc_cf_items *, const value_string *, const value_string *, int, int, int);