2021-01-21 13:33:54 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
2020-01-30 18:35:45 +00:00
|
|
|
#include <time.h>
|
2018-10-04 16:18:57 +00:00
|
|
|
#include <logging_mosq.h>
|
|
|
|
|
2020-01-30 18:35:45 +00:00
|
|
|
struct mosquitto_db{
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2020-10-17 00:23:08 +00:00
|
|
|
int log__printf(struct mosquitto *mosq, unsigned int priority, const char *fmt, ...)
|
2018-10-04 16:18:57 +00:00
|
|
|
{
|
2021-01-21 13:33:54 +00:00
|
|
|
UNUSED(mosq);
|
|
|
|
UNUSED(priority);
|
|
|
|
UNUSED(fmt);
|
|
|
|
|
2018-10-04 16:18:57 +00:00
|
|
|
return 0;
|
|
|
|
}
|
2020-01-30 18:35:45 +00:00
|
|
|
|
|
|
|
time_t mosquitto_time(void)
|
|
|
|
{
|
|
|
|
return 123;
|
|
|
|
}
|
|
|
|
|
|
|
|
int net__socket_close(struct mosquitto_db *db, struct mosquitto *mosq)
|
|
|
|
{
|
2021-01-21 13:33:54 +00:00
|
|
|
UNUSED(db);
|
|
|
|
UNUSED(mosq);
|
|
|
|
|
2020-01-30 18:35:45 +00:00
|
|
|
return MOSQ_ERR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int send__pingreq(struct mosquitto *mosq)
|
|
|
|
{
|
2021-01-21 13:33:54 +00:00
|
|
|
UNUSED(mosq);
|
|
|
|
|
2020-01-30 18:35:45 +00:00
|
|
|
return MOSQ_ERR_SUCCESS;
|
|
|
|
}
|
|
|
|
|