diff options
Diffstat (limited to 'Plugins/ping.c')
-rw-r--r-- | Plugins/ping.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Plugins/ping.c b/Plugins/ping.c new file mode 100644 index 0000000..376a19d --- /dev/null +++ b/Plugins/ping.c @@ -0,0 +1,13 @@ +#include "plugin.h" + +INFO("ask fs.frame to bang the receive given as 1st argument") + +// can be used at the end of a processing chain to inform when the processing is done. +// very useful. + +void perform_effect(_frame f, _args a) +{ + if(!a.s) return; + + sprintf(a.ret, "%s=0", a.s); // bang receive given in a.s +} |