Commit Graph

65 Commits (7f0cd4892114a8c79860f7a1ab0e23c0e51c6ca9)

Author SHA1 Message Date
Roger A. Light dcbbf71cb2 Coverity suppressions 3 years ago
Roger A. Light da0eab36a4 Remove unused events 3 years ago
Roger A. Light fd330de080 client_id -> clientid rename. 3 years ago
Roger A. Light 0dc1fa5a49 Rejig SUBSCRIBE and UNSUBSCRIBE plugin event structs. 3 years ago
Roger A. Light 3e17494d34 Rename topic -> topic_filter in events. 3 years ago
Roger A. Light 9ef6c49266 Renaming and adding tests. 3 years ago
Abilio Marques 46442193f3 add example plugin that jails clients
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Abilio Marques 4cc76aae9c add example plugin that limits subscriptions' QoS
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Abilio Marques 1677d1aed2 allow message modification on output
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Roger A. Light 9e9a4f836c Fix duplicate# 3 years ago
Roger A. Light c6be853a7e Sync example with plugin interface 3 years ago
Roger A. Light 8cbfb59f66 Add mosquitto_plugin_cleanup() to examples for 2.0 compatibility 3 years ago
Roger A. Light dae1073360 Add missing Makefile 3 years ago
Roger A. Light be8cf754fb Move plugin to examples dir, plus some tweaks. 3 years ago
Norbert Heusser 170cd85cec Add target test-compile to all Makefile to allow tests in plugin folders
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Norbert Heusser e4c252b781 Don't install example plugin client-lifetime-stats
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light a2e5bb5294 Merge branch 'fix-compiler-warnings' of https://github.com/buschulte/mosquitto into buschulte-fix-compiler-warnings 3 years ago
Roger A. Light 0503d5d35c Fix windows build 3 years ago
Kai Buschulte e6f5633ff6 Fix some compiler warnings
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Kai Buschulte 9c5a5081df Fix CMake build
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Roger A. Light 4596cef734 Ban file should be appended. 3 years ago
Roger A. Light 7f0e5cd809 Tidy plugin directory 3 years ago
Roger A. Light ae14eb34e1 Fix Coverity Scan 1499817 3 years ago
Roger A. Light 9c2d0ce401 Fix copy paste error.
Coverity Scan 1499794.
3 years ago
Roger A. Light c5c7dd3f57 Fix payload check 3 years ago
Roger A. Light 65153eba45 Example plugin that bans based on payload 3 years ago
Roger A. Light a2f91babdf Fix incorrect format specifier 3 years ago
Kai Buschulte 8b67883548 Remove old compatibility header support
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Roger A. Light 11b16756cb Windows fixes. 3 years ago
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>
3 years ago
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>
3 years ago
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>
4 years ago
Roger A. Light 40d8015837 Add MOSQ_EVT_SUBSCRIBE and MOSQ_EVT_UNSUBSCRIBE events.
These are called when subscribe/unsubscribes actually succeed.
4 years ago
Roger A. Light c661f475b4 Coverity Scan fixes - Invalid type in argument to printf format specifier
1453805
1453806
1486939
1486954
1486955
1486956
1486960
4 years ago
Roger A. Light cbb01193a0 Rename persist retain_add to retain_set 4 years ago
Roger A. Light 8d94fdc688 Minor housekeeping. 4 years ago
Roger A. Light 68c002bc55 Plugin event counter example plugin. 4 years ago
Roger A. Light 02d08b9889 wildcard-temp: Don't attempt to delete from an empty list. 4 years ago
Roger A. Light 5a3b42d4a4 Use path vars in Makefiles. 4 years ago
Roger A. Light aae7c406fe wildcard-temp plugin: Fix use after free. 4 years ago
Roger A. Light bc1adfd46d CMake fixes.
Builtin websockets support.
Persist sqlite plugin build.
Broker cJSON support
Add wildcard-temp plugin.
4 years ago
Roger A. Light 34dc62be86 Document wildcard_temp plugin. 4 years ago
Roger A. Light 5b2e181c9f Example client lifetime and payload size stat plugins. 4 years ago
Roger A. Light f43f136af8 Plugin for wildcard subscription blocking. 4 years ago
Roger A. Light 2976dffa71 Plugin template CMakeLists. 4 years ago
Roger Light cd07f1136b Bump copyrights. 4 years ago
Roger A. Light 8ac11929cc Merge branch 'master' into develop 4 years ago
Roger A. Light b9b065d2cc Compiler pedantry, and more checks in tests. 4 years ago
Roger A. Light 91e8344a3e Windows build fixes. 4 years ago
Roger A. Light 55d5d2e5f2 Fix for building when uthash not available. 4 years ago