Commit Graph
22 Commits
Author SHA1 Message Date
Roger A. Light 67ad22df0a Formatting: Double space before functions. 2025-09-17 12:03:03 +01:00
Roger A. Light 340c4f323f Rename cmake helper functions. 2024-03-05 09:36:15 +00:00
Roger A. Light f39ecb3d27 Factor out a load of duplicated makefile code 2024-03-02 10:35:45 +00:00
Roger A. Light fe3b72ef61 Remove a load of cmake boilerplate 2024-02-15 13:39:11 +00:00
Roger A. Light d17a88d916 Refactor headers for easier discovery. 2023-12-23 12:59:58 +00:00
Roger A. Light c8e313aac0 Fix build
This is for the case where command line overrides are set.
2023-09-19 22:48:24 +01:00
Roger A. Light a31bee722f Simplify make build. 2023-05-10 16:20:06 +01:00
Roger A. Light da0eab36a4 Remove unused events 2023-01-16 22:49:31 +00:00
Abilio Marques 1677d1aed2 allow message modification on output
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2023-01-16 10:29:50 +00:00
Roger A. Light c6be853a7e Sync example with plugin interface 2022-12-19 13:10:44 +00:00
Roger A. Light 8cbfb59f66 Add mosquitto_plugin_cleanup() to examples for 2.0 compatibility 2022-12-19 13:08:01 +00:00
Kai Buschulte e6f5633ff6 Fix some compiler warnings
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-11-03 10:55:37 +01:00
Roger A. Light a2f91babdf Fix incorrect format specifier 2022-08-11 14:19:23 +01:00
Kai Buschulte 8b67883548 Remove old compatibility header support
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-08-08 09:25:16 +00:00
Roger A. Light 11b16756cb Windows fixes. 2022-07-21 15:51:52 +01:00
Kai Buschulte 8b5a86fd52 Introduce config-header cmake target
This is an interface cmake target which specifies include directories
required by the config.h places in the root of the project.

This header is a "public" header visible to plugins linking the
mosquitto exports.

Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-06-22 23:56:09 +01:00
Kai Buschulte 7e4746aac4 Fix missing symbols MacOS
Core symbols needed by plugins are now properly linked to their objects

 * Remove link_directories() call:

This specification is not necessary for our own libraries as cmake
shares this information over the targets.

If needed they should be specified target specific, like done for
the external DLT library.

Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-05-11 07:01:22 +00:00
Norbert Heusser d4216c8cb6 Fixed CMakeLists.txt
* Addded missing files plugin_subscribe and plugin_unsubscribe to src/CMakeLists.txt
* Aligned mixed usage of all-keyword and all-plain in target_link_libra…ry definition in in CMakeLists.txt

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2022-04-06 10:26:03 +00:00
Roger A. Light 40d8015837 Add MOSQ_EVT_SUBSCRIBE and MOSQ_EVT_UNSUBSCRIBE events.
These are called when subscribe/unsubscribes actually succeed.
2022-03-31 14:24:11 +01:00
Roger A. Light cbb01193a0 Rename persist retain_add to retain_set 2022-03-01 20:55:56 +00:00
Roger A. Light 8d94fdc688 Minor housekeeping. 2022-03-01 13:51:20 +00:00
Roger A. Light 68c002bc55 Plugin event counter example plugin. 2022-02-28 22:46:39 +00:00