SingingCat
0
application
src-app
userhooks.h
1
#include <main-header.h>
2
#include <command-handler.h>
3
4
void
on_startup(
int
MCULIBHANDLE);
5
int
on_command_received
(
struct
command
*com);
6
void
on_new_node
(
struct
hostroute
*host);
7
void
user_loop
();
on_new_node
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
on_command_received
int on_command_received(struct command *com)
this is called for each command we receive
Definition:
userhooks.c:53
user_loop
void user_loop()
this is called frequently, but with no timing guarantees. essentially, it's called in the "idle-loop"...
Definition:
userhooks.c:67
command
Definition:
command.h:10
hostroute
Definition:
routing.h:20
Generated on Tue May 28 2024 19:13:43 for SingingCat by
1.9.4