You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
566 B
C
29 lines
566 B
C
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <mosquitto.h>
|
|
#include <mosquitto_broker.h>
|
|
#include <mosquitto_plugin.h>
|
|
|
|
int mosquitto_auth_plugin_version(void)
|
|
{
|
|
return 3;
|
|
}
|
|
|
|
int mosquitto_auth_plugin_init(void **user_data, struct mosquitto_opt *auth_opts, int auth_opt_count)
|
|
{
|
|
(void)user_data;
|
|
(void)auth_opts;
|
|
(void)auth_opt_count;
|
|
|
|
return MOSQ_ERR_SUCCESS;
|
|
}
|
|
|
|
int mosquitto_auth_plugin_cleanup(void *user_data, struct mosquitto_opt *auth_opts, int auth_opt_count)
|
|
{
|
|
(void)user_data;
|
|
(void)auth_opts;
|
|
(void)auth_opt_count;
|
|
|
|
return MOSQ_ERR_SUCCESS;
|
|
}
|