Commit: 004b5b28a04c52e26ad5cafbb53a586a722ce3ab
Parent: 2a5c9cf632e65b9935ae3bcb7a3dc92b1d580b30
Author: Emil Velikov <emil.velikov@collabora.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-01-29 20:50:51
Tree: 9ccb702e7c49870394757741b3f72adedfe4f290

obexd: factor out external plugin support As a whole all plugins should be built-in, otherwise they would be using internal, undocumented, unversioned, unstable API. Flesh out the external plugin support into a few blocks and simplify the normal path. Guard the external plugin support behind a runtime check, which will be dead-code eliminated in the default case. Hide the internal API (omit export-dynamic) when built without external plugins.

Diffstat

M Makefile.obexd | 2 ++
M obexd/src/obexd.h | 2 +-
M obexd/src/plugin.c | 89 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M obexd/src/plugin.h | 4 ++++

4 files changed, 66 insertions(+), 31 deletions(-)

View Full Diff | Patch