wireshark/doc/plugins.example
João Valverde 2777003e12 Add version check for plugin compatibility
Only plugins built for the same feature release (X.Y) are assured binary
compatibility. Make sure we don't try to run unsuitable code and, if so,
warn the user. This might happen for example if the user manually copies
a binary plugin to the wrong folder, intentionally or by accident.

I'm using "release version" to loosely mean not a patch release
(i.e: a feature release).

Change-Id: I896e9cbbd2d3843623fff6af8ef51002ec06f1f8
Reviewed-on: https://code.wireshark.org/review/23807
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
2017-10-03 10:09:24 +00:00
..
Makefile.am
README
configure.ac
hello.c

README

This is an example of how to build a Wireshark plugin out-of-tree.

Tested on Linux using GCC 7. Note this builds against Wireshark's *installed*
version. You should of course adapt to your own needs.

To build/install the plugin:

$ autoreconf -v -i
$ PREFIX=/usr/local
$ ./configure --prefix="$PREFIX" PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig"
$ make
$ sudo make install # or single-user: make install-home