Wireshark mailing list archives

Re: Plugin question : proto_tree_add_oid() is not exported


From: Alexis La Goutte <alexis.lagoutte () gmail com>
Date: Thu, 7 Nov 2019 21:42:05 +0100

Hi Koji,

I think, it is a bug (or the author only forget to export....)

You can push a patch on gerrit and it will be available on next major
release

Cheers

On Thu, Nov 7, 2019 at 3:30 PM kyossi <kyossi212 () gmail com> wrote:

Hi,

I'm developing custom plugin dll which dissect snmp-like
protocol(proprietary).
I noticed proto_tree_add_oid() in  proto.h does not prefixed with
WS_DLL_PUBLIC.
(
https://github.com/wireshark/wireshark/blob/f577d5b3ea0c277bc15168f563a2f2fdd0b87c40/epan/proto.h#L1850
)

So my plugin dll can't call proto_tree_add_oid()...
Is this just a bug or is there any reason that this is not exported to
plugins?

Thanks,

Koji Yoshioka.


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org
?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: