aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/tutorial/tuto-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/tutorial/tuto-1.c')
-rw-r--r--bindings/tutorial/tuto-1.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/bindings/tutorial/tuto-1.c b/bindings/tutorial/tuto-1.c
deleted file mode 100644
index 1f58be6c..00000000
--- a/bindings/tutorial/tuto-1.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#define AFB_BINDING_VERSION 3
-#include <afb/afb-binding.h>
-
-void hello(afb_req_t req)
-{
- AFB_REQ_DEBUG(req, "hello world");
- afb_req_reply(req, NULL, NULL, "hello world");
-}
-
-const afb_verb_t verbs[] = {
- { .verb="hello", .callback=hello },
- { .verb=NULL }
-};
-
-const afb_binding_t afbBindingExport = {
- .api = "tuto-1",
- .verbs = verbs
-};
-