summaryrefslogtreecommitdiffstats
path: root/bindings/samples
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/samples')
-rw-r--r--bindings/samples/hello3.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bindings/samples/hello3.c b/bindings/samples/hello3.c
index 99a35829..b50ea46d 100644
--- a/bindings/samples/hello3.c
+++ b/bindings/samples/hello3.c
@@ -539,6 +539,11 @@ static void mute(afb_req_t request)
{
}
+static void mutebug(afb_req_t request)
+{
+ afb_req_addref(request);
+}
+
void queue_cb(int signum, void *arg)
{
afb_req_t request = arg;
@@ -741,6 +746,7 @@ static const struct afb_verb_v3 verbs[]= {
{ .verb="locale", .callback=locale},
{ .verb="api", .callback=api},
{ .verb="mute", .callback=mute},
+ { .verb="mutebug", .callback=mutebug},
{ .verb="queue", .callback=queue},
{ .verb="settings", .callback=settings},
{ .verb=NULL}