SingingCat 0
application
userhooks.h
1#include <main-header.h>
2#include <command-handler.h>
3
4void on_startup(int MCULIBHANDLE);
5int on_command_received(struct command *com);
6void on_new_node(struct hostroute *host);
7void user_loop();
void on_new_node(struct hostroute *host)
called when and if a new node is detected. this may be used, to, for example to activate when a route...
Definition: userhooks.c:61
int on_command_received(struct command *com)
this is called for each command we receive
Definition: userhooks.c:53
void user_loop()
this is called frequently, but with no timing guarantees. essentially, it's called in the "idle-loop"...
Definition: userhooks.c:67