ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Dissect using val_to_str from external file

Date: Wed, 11 Nov 2015 14:38:48 +0100
Hello,

I did this now for the functions in my other question
(http://seclists.org/wireshark/2015/Nov/78) but I have no idea how to
get this working for val_to_str() in my plugin file.

In my source file, i include <epan/ipproto.h> and Visual Studio does
only complain at compile time about unresolved external symbols
(LNK2001). Can someone please help me on how to access ipproto_val_ext
from a plugin?

No plugin from the Wireshark sources seem to use external val_to_str()
calls as of now.

Bye,
Jo

2015-11-11 12:20 GMT+01:00 Graham Bloice <graham.bloice@xxxxxxxxxxxxx>:
>
>
> On 11 November 2015 at 10:33, Jo <wireshark@xxxxxxxxxxx> wrote:
>>
>> Hello Graham,
>>
>> Thank you.
>>
>> Is this set of exported symbols meant to be extended on user request?
>> Or what is the correct way to gain access to symbols that are not yet
>> marked for export?
>>
>
> If you can manage with local changes, edit away.
>
> If you want to push those changes back to Wireshark so you don't have to
> apply your local change every time you update your sources then submit a
> change (https://wiki.wireshark.org/Development/SubmittingPatches).
>
> --
> Graham Bloice
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe