1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/plugins/hooks/example_hook.c

11 lines
No EOL
281 B
C

#include <villas/hooks.h>
#include <villas/log.h>
static int hook_example(struct hook *h, int when, struct hook_info *j)
{
info("Hello world from example hook!");
return 0;
}
REGISTER_HOOK("example", "This is just a simple example hook", 99, 0, hook_example, HOOK_PATH_START)