aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2023-12-01 13:52:27 +0000
committerJoão Valverde <j@v6e.pt>2023-12-03 23:20:39 +0000
commit90b16b40921b737aadf9186685d866fd80e37ee6 (patch)
treef5cf9b621f5dd2ca2e4a7380937ae6dedab4240f /cmake/modules
parent87ec22e63dff2145453f76cc463c4fd34936f504 (diff)
Refactor plugin registration and add ABI/license check
Remove the boilerplate and multiple symbols required to write and load a plugin and use a simpler interface that is also much more featureful and extensible. This removes the major.minor ABI check in favor of an ABI version number that is simpler and more flexible. In practice our 3 separate ABI versions still increase with each major.minor version number but this may change in the future, particularly for codecs that have a much narrower and stable codec API. There is a new license compatibility check. Plugins must declare if the use GPLv2 or later, or alternatively an FSF compliant GPLv2 compatible license. Otherwise Wireshark refuses to load the plugin. The SPDX ID is just an ancillary field and not enforced currently. Adds more metadata fields during plugin registration. These are only used for display and debugging. There is an extra API level number in the registration API that is reserved for future use.
Diffstat (limited to 'cmake/modules')
0 files changed, 0 insertions, 0 deletions