diff options
author | João Valverde <j@v6e.pt> | 2023-11-30 18:45:05 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2023-12-03 23:20:39 +0000 |
commit | f835dc800f2d9c9c348d42be5e615bfdb28ae625 (patch) | |
tree | 9bae9dde93bf251f94611d3dddf0103dea9b1347 /doc/release-notes.adoc | |
parent | 60f1972fa3700d8d702e0f9b0df6ec1980d97ecb (diff) |
Update README.plugins and release notes
Diffstat (limited to 'doc/release-notes.adoc')
-rw-r--r-- | doc/release-notes.adoc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/release-notes.adoc b/doc/release-notes.adoc index aae5ffc3a7..e3b5a19546 100644 --- a/doc/release-notes.adoc +++ b/doc/release-notes.adoc @@ -24,6 +24,9 @@ representations for numeric fields). Display filter functions can be implemented as runtime-loadable C plugins. +Plugin registration API was refactored. Plugin authors must update their +plugins as described below. + Many other improvements have been made. See the “New and Updated Features” section below for more details. @@ -146,8 +149,11 @@ EGNOS Messager Server (EMS) files === Major API Changes -* Plugins should provide a `plugin_describe()` function that returns an ORed - list of flags consisting of the plugin types used (declared in wsutil/plugins.h). +* Plugin registration API was refactored. Plugin authors must do the following: + 1 - Remove the existing bloilerplate (version, want_major` and `want_minor` and + plugin API declarations. 2 - Add a struct ws_module to the plugin. + 3 - Call one of the WIRESHARK_PLUGIN_REGISTER_* macros. See README.plugins + sections 5 and doc/plugins.example/hello.c for details and examples. == Getting Wireshark |