Wireshark-dev: Re: [Wireshark-dev] Plugin question : proto_tree_add_oid() is not exported

From: Koji Yoshioka <kyossi212@xxxxxxxxx>
Date: Fri, 8 Nov 2019 18:33:03 +0900

Thanks for fix!

Koji Yoshioka

2019/11/08 5:59、Pascal Quantin <pascal@xxxxxxxxxxxxx>のメール:




Le jeu. 7 nov. 2019 à 20:43, Alexis La Goutte <alexis.lagoutte@xxxxxxxxx> a écrit :
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

Actually Gerald's patch is already merged, so it will be part of the upcoming Wireshark 3.2.


Cheers

On Thu, Nov 7, 2019 at 3:30 PM kyossi <kyossi212@xxxxxxxxx> 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.

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@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe