wiretap: add a parameter to wtap_init() indicating whether plugins must be loaded
authorPascal Quantin <pascal.quantin@gmail.com>
Tue, 9 Jan 2018 08:55:37 +0000 (09:55 +0100)
committerAnders Broman <a.broman58@gmail.com>
Tue, 9 Jan 2018 21:25:06 +0000 (21:25 +0000)
commitfc9af81a13ec53ca15cbd28ce1896d407ab2bf8a
tree30ff801215a7f4b8133aa83e65fe22e98fb3fe90
parenta7e29d8b66dd7c1cb691966938404dafc6b89689
wiretap: add a parameter to wtap_init() indicating whether plugins must be loaded

g995812c5f1 moved wiretap plugins registration from applications to
wiretap library init function.
As we do not want to load plugins for all users of libwiretap, let's
make it configurable.

Bug: 14314
Change-Id: Id8fdcc484e2d0d31d3ab0bd357d3a6678570f700
Reviewed-on: https://code.wireshark.org/review/25194
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
19 files changed:
capinfos.c
captype.c
dftest.c
editcap.c
extcap/androiddump.c
extcap/randpktdump.c
mergecap.c
randpkt.c
randpkt_core/randpkt_core.c
rawshark.c
reordercap.c
sharkd.c
tfshark.c
tools/oss-fuzzshark/fuzzshark.c
tshark.c
ui/gtk/main.c
wireshark-qt.cpp
wiretap/wtap.c
wiretap/wtap.h