Commit Graph

30 Commits (9ce09de2e662ce8bb5608fcc4157eaba7157e480)

Author SHA1 Message Date
Roger A. Light 9ce09de2e6 Add MOSQ_EVT_PERSIST_CLIENT_MSG_CLEAR plugin event. 4 years ago
Roger A. Light ff41157c2c Persistence interface documentation, plus better heap/non heap params
Be clear about whether the plugin or the broker owns `plugin_*` memory after function calls are made.
4 years ago
Roger A. Light 68fbb7b5bb auth method needs persisting. 4 years ago
Roger A. Light 6d3f85cf0c Have const/non const members.
Broker to plugin must be const.
Plugin to broker may need to be non-const.
4 years ago
Roger A. Light 0f8733627a Plugin persistence interface. 4 years ago
Roger A. Light cfe078cd32 Document function. 4 years ago
Roger A. Light 6fbdd71306 Broker id setting
This allows different brokers to share e.g. the same sql database and still have unique stored message ids.
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 91e8344a3e Windows build fixes. 4 years ago
Roger A. Light a1a190b482 Pointless whitespace tidy. 4 years ago
Roger A. Light 0f2f77c945 Improve idle / mux timeout performance. 4 years ago
Roger A. Light 8acee6647c Add mosquitto_client_port() for plugins. 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 0d3870585b Plugin delayed authentication. 4 years ago
Roger A. Light fd036b9435 Merge branch 'fixes' into develop 5 years ago
Roger A. Light 7fe638786d Fix mosquitto_evt_tick struct members. 5 years ago
Roger A. Light a4389fc9ce Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
The two licenses are the same.
5 years ago
Roger A. Light 0087431bf4 Add MOSQ_EVT_CONNECT event.
This allows plugins to know when a client has successfully authenticated
to the broker.

Add connection-state example plugin to demonstrate MOSQ_EVT_CONNECT.
5 years ago
Roger A. Light 9d3732a62d Fix `auth_method` not being provided to the extended auth plugin event.
Closes #1975. Thanks to Jinming Chen.
5 years ago
Roger A. Light ce30f811ba Improve API documentation.
Fix return code on callback unregister.
5 years ago
Roger A. Light 6fe3279436 Build fixes from Windows changes. 5 years ago
Roger A. Light 3731535298 Add SPDX license identifiers. 5 years ago
Roger A. Light 584cf51ba7 Update to EPL-2.0 5 years ago
Roger A. Light c5fee09c24 Basic client disconnect event support for plugins. 5 years ago
Roger A. Light 06b933c3ba Add tick event to plugin interface. 5 years ago
Roger A. Light 4f61f6c161 Fix conversion errors. 5 years ago
Roger A. Light 267beb8a49 Export function on Windows. 5 years ago
Roger A. Light be8b94189c Document that X509_free() must be called after using mosquitto_client_certificate().
Closes #1842. Thanks to Wolfgang Petroschka.
5 years ago
Roger A. Light a65f946e83 Move headers to own directory. 5 years ago