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
5a67361af0
Clearer name
2023-09-20 21:45:06 +01: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
e656e694ed
Merge branch 'master' into develop
2023-09-09 15:20:40 +01:00
Roger A. Light
a31bee722f
Simplify make build.
2023-05-10 16:20:06 +01:00
Roger A. Light
68636012a2
Fix cmake build
2023-04-23 20:27:51 +01:00
Shawn Cicoria
e74e5d0123
fixes build fail on darwin arm64
...
made cmake same as other plugin
examples and now it compiles
clean with cmake
Signed-off-by: Shawn Cicoria <github@cicoria.com>
Shawn Cicoria <shawn@cicoria.com>:
2023-03-08 18:36:09 -05:00
Roger A. Light
dcbbf71cb2
Coverity suppressions
2023-01-25 12:00:48 +00:00
Roger A. Light
da0eab36a4
Remove unused events
2023-01-16 22:49:31 +00:00
Roger A. Light
fd330de080
client_id -> clientid rename.
2023-01-16 18:46:35 +00:00
Roger A. Light
0dc1fa5a49
Rejig SUBSCRIBE and UNSUBSCRIBE plugin event structs.
2023-01-16 17:48:56 +00:00
Roger A. Light
3e17494d34
Rename topic -> topic_filter in events.
2023-01-16 17:17:55 +00:00
Roger A. Light
9ef6c49266
Renaming and adding tests.
2023-01-16 10:31:13 +00:00
Abilio Marques
46442193f3
add example plugin that jails clients
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2023-01-16 10:31:13 +00:00
Abilio Marques
4cc76aae9c
add example plugin that limits subscriptions' QoS
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2023-01-16 10:31:11 +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
9e9a4f836c
Fix duplicate#
2022-12-19 13:13:10 +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
Roger A. Light
dae1073360
Add missing Makefile
2022-12-18 16:34:15 +00:00
Roger A. Light
be8cf754fb
Move plugin to examples dir, plus some tweaks.
2022-12-16 16:38:46 +00:00
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>
2022-12-09 18:03:54 +00:00
Norbert Heusser
e4c252b781
Don't install example plugin client-lifetime-stats
...
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2022-12-09 18:03:47 +00:00
Roger A. Light
a2e5bb5294
Merge branch 'fix-compiler-warnings' of https://github.com/buschulte/mosquitto into buschulte-fix-compiler-warnings
2022-11-03 21:33:40 +00:00
Roger A. Light
0503d5d35c
Fix windows build
2022-11-03 16:20:30 +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
Kai Buschulte
9c5a5081df
Fix CMake build
...
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-11-03 09:20:29 +01:00
Roger A. Light
4596cef734
Ban file should be appended.
2022-10-17 10:03:06 +01:00
Roger A. Light
7f0e5cd809
Tidy plugin directory
2022-10-17 07:25:37 +01:00
Roger A. Light
ae14eb34e1
Fix Coverity Scan 1499817
2022-10-16 23:23:43 +01:00
Roger A. Light
9c2d0ce401
Fix copy paste error.
...
Coverity Scan 1499794.
2022-10-16 07:29:50 +01:00
Roger A. Light
c5c7dd3f57
Fix payload check
2022-10-15 21:55:49 +01:00
Roger A. Light
65153eba45
Example plugin that bans based on payload
2022-10-15 20:41:51 +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
c661f475b4
Coverity Scan fixes - Invalid type in argument to printf format specifier
...
1453805
1453806
1486939
1486954
1486955
1486956
1486960
2022-03-24 08:11:11 +00: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
Roger A. Light
02d08b9889
wildcard-temp: Don't attempt to delete from an empty list.
2022-02-09 23:39:37 +00:00
Roger A. Light
5a3b42d4a4
Use path vars in Makefiles.
2022-02-09 14:44:09 +00:00
Roger A. Light
aae7c406fe
wildcard-temp plugin: Fix use after free.
2022-02-08 09:17:09 +00:00
Roger A. Light
bc1adfd46d
CMake fixes.
...
Builtin websockets support.
Persist sqlite plugin build.
Broker cJSON support
Add wildcard-temp plugin.
2022-02-04 22:28:26 +00:00
Roger A. Light
34dc62be86
Document wildcard_temp plugin.
2022-01-11 10:21:43 +00:00