On Wed, Sep 01, 2010 at 02:53:15PM -0700, Ashley Jones wrote: > The question I have is if I can make a call to a "C" function that has > been defined within a struct as the message is on the network? Or > better yet if you could explain how someone can call user defined > functions that have been defined in other files, that would be > appreciated.
> Truly Frustrated with WireShark This sounds like a general programming question more than a Wireshark specific question. Wireshark does these things all of the time in its code; define a function in a header file and include it in both source files and then make sure both source files are compiled into the same library or output binary. As for user defined functions, is something like in epan/dissectors/packet-ip.c where the IP option handling function names are defined as variables what you're looking for? ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
