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
Roger A. Light
2bfc7e7cc8
Do plugin callback unregistering automatically.
4 years ago
Roger A. Light
6763d94962
Add plugin version helper.
4 years ago
Roger A. Light
0f2f77c945
Improve idle / mux timeout performance.
4 years ago
Roger Light
dbd0d6f0d8
CMake build fixes.
4 years ago
Roger A. Light
7697406d3a
Add topic modification example plugin.
4 years ago
Roger A. Light
3413001d47
Add `mosquitto_plugin_set_info()`
...
This allows plugins to tell the broker their name and version.
4 years ago
Roger A. Light
76c9e44deb
Test config and scripts for example plugins.
4 years ago
Roger A. Light
869016b831
Add print-ip-on-publish example plugin.
4 years ago
Roger Light
fe007b2fe2
Example plugin that forces all messages to be retained.
4 years ago
Roger A. Light
214feb8f6b
Merge branch 'fixes' into develop
4 years ago
Roger A. Light
0d3870585b
Plugin delayed authentication.
4 years ago
Roger Light
0a90e62f93
CMake tidy.
4 years ago
Roger A. Light
b7b3a42e75
Strict build fixes.
4 years ago
Roger Light
ef7662ca8e
Merge branch 'master' into develop
4 years ago
Roger A. Light
c17c6a9028
Move example plugins to their own directory.
5 years ago