Wireshark-dev: Re: [Wireshark-dev] wiretap - using as a library rather than coupled with Wiresh
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 26 Nov 2015 10:54:20 -0800
On Nov 26, 2015, at 1:18 AM, Dario Lombardo <dario.lombardo.ml@xxxxxxxxx> wrote:

> Provided that this is not a published lib, that has an unstable interface, that... whatever constraint you can figure out, I think that it could be used "as-is". To achive that wouldn't be enough to add the wiretap/ to the include dirs of the compiler and the compiled .so to the linker? Is there a step I am missing?

That depends on what Richard means by "independently of Wireshark".

If he means "can I extract the source to libwiretap, and have a source tree with *only* that, and not bother building the rest of Wireshark?", then the steps you're missing are the steps to do exactly that (and to extract the source to libwsutils).