core-legacy/include/status.h

27 lines
371 B
C
Raw Normal View History

#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 */