ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] [PATCH] wireshark doesn't compile if configure --with-plugin

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 10 Jun 2007 09:44:08 -0700
Guy Harris wrote:

init_progfile_dir() should probably be called regardless of whether we're building with plugin support or not, given, for example, the WIRESHARK_RUN_FROM_BUILD_DIRECTORY environment variable.

...and init_report_err() should probably always be called as well.

Perhaps init_plugins() should be a stub routine that does nothing if --with-plugins=no is specified? And perhaps that should be the case for other plugin-handling routines as well?