Wireshark-bugs: [Wireshark-bugs] [Bug 2911] New: Missing functions unavailable to plugins as mis
Date: Mon, 29 Sep 2008 01:57:35 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2911

           Summary: Missing functions unavailable to plugins as missing in
                    libwireshark.def
           Product: Wireshark
           Version: 1.0.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Trivial
          Priority: Low
         Component: Wireshark
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=2277)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2277)
libwireshark.def file with added (missing) functions

Build Information:
Version 1.0.3 (SVN Rev 26134)

Copyright 1998-2008 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.8, with GLib 2.14.6, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with ADNS, with Lua 5.1, with GnuTLS 2.3.8, with Gcrypt 1.4.1, with MIT
Kerberos, with PortAudio V19-devel, with AirPcap.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 6.0 build 8804
--
The following functions are not available to plugins as they are not currently
defined in libwireshark.def:

tvb_get_bits8
tvb_get_bits16
tvb_get_bits32
tvb_get_bits64

proto_tree_add_bits_item
proto_tree_add_bits_ret_val

I've used this in a proprietary plugin and it does not work in release 1.0.3.
Adding the functions to libwireshark.def and recompiling fixes the problem, but
of course this does not work with official release versions.

Note there could be other missing functions. I'm not sure whether all should be
listed in libwireshark.def.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.