Wireshark-bugs: [Wireshark-bugs] [Bug 9164] New: function dissector_try_uint_new() not exported,

Date: Thu, 19 Sep 2013 09:54:06 +0000
Bug ID 9164
Summary function dissector_try_uint_new() not exported, so can't use to in function to generate plugin
Classification Unclassified
Product Wireshark
Version 1.10.2
Hardware All
OS All
Status UNCONFIRMED
Severity Major
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:

--
Summary: function dissector_try_uint_new() not exported, so can't used to in
function to generate plugin

dissector_try_uint_new() is defined in epan/packet.c and declared in
epan/packet.h. But the issue is that dissector_try_uint_new() is not exported,
due to which I can't use this function in my dissector files under plugin/...

I can see all other functions in packet.h above and below
dissector_try_uint_new() are exported. Even dissector_try_uint() is also
exported.

----------------packet.h---------------------

/* Look for a given value in a given uint dissector table and, if found,
   call the dissector with the arguments supplied, and return TRUE,
   otherwise return FALSE. */
WS_DLL_PUBLIC gboolean dissector_try_uint(dissector_table_t sub_dissectors,
    const guint32 uint_val, tvbuff_t *tvb, packet_info *pinfo, proto_tree
*tree);

/* Look for a given value in a given uint dissector table and, if found,
   call the dissector with the arguments supplied, and return TRUE,
   otherwise return FALSE. */
gboolean dissector_try_uint_new(dissector_table_t sub_dissectors,
    const guint32 uint_val, tvbuff_t *tvb, packet_info *pinfo, proto_tree
*tree, const gboolean add_proto_name, void *data);

------------end -----------------

It would be nice to export this function also.

Thanks
Ashok Gupta


You are receiving this mail because:
  • You are watching all bug changes.