diff options
author | Juha Vehviläinen <jusu@users.sourceforge.net> | 2003-02-17 22:28:16 +0000 |
---|---|---|
committer | Juha Vehviläinen <jusu@users.sourceforge.net> | 2003-02-17 22:28:16 +0000 |
commit | ba67bbb2db6327dc0f64eab24bafe5f023ce42ed (patch) | |
tree | e6448c5063b7fb2b021e32e31958d10a9a51fb07 /Plugins/ping.c | |
parent | 2992b54a966b8972730a2552bb81183f07e35795 (diff) |
0.32
svn path=/trunk/Framestein/; revision=418
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 +} |