Mosquitto plugins written in rust, help with contents of mosquitto struct [message #1835452] |
Thu, 03 December 2020 16:19 |
kristoffer ödmark Messages: 2 Registered: December 2020 |
Junior Member |
|
|
Mosquitto broker is a mature and simple, and quite frankly defactor standard MQTT broker in use today.
However I do not enjoy writing stuff in C to much, so I created a library that will help aspiring plugin writers to write their plugin in rust, and use it in Mosquitto broker. Will post links in next message
Repository with example: https://github.com/TotalKrill/mosquitto_plugin
I have included an example plugin that only let clients connect if their password is their username in reverse, and also only allows subscribtion/publish depending on their mosquitto.conf file. You will find it in the repository.
I would however want some help, the mosquitto_plugin.h header file doesnt specify the mosquitto struct. So I have not been able to incorporate information from that struct into my plugin library yet.
Any help is appreciated!
[Updated on: Thu, 03 December 2020 17:21] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03584 seconds