core-legacy/include/status.h
Tobias Reisinger 6c6e5023da add: status for mqtt
fix: refactor connection handlers
2020-06-26 01:01:46 +02:00

26 lines
371 B
C

#ifndef CORE_STATUS_H
#define CORE_STATUS_H
#include <models/controller.h>
extern relay_t **global_relay_status_list;
void
status_init();
void
status_reload_entry(int relay_id);
void
status_update_entry(int relay_id, int is_on);
void
status_broadcast(struct mg_mgr *mgr);
void
status_send(struct mg_connection *c);
void
status_free();
#endif /* CORE_STATUS_H */