3 #define AFB_BINDING_VERSION 3
4 #include <afb/afb-binding.h>
6 static int appmain(void *arg)
8 const char *name = arg;
11 AFB_API_NOTICE(afbBindingV3root, "Entering Application main");
12 printf("Hello, I'm %s!\n", name);
13 printf("What's your name? ");
15 printf("Hi %s! Nice to meet you. OOOOPS I'm late bye bye\n", buffer);
19 static void application(int signum, void *arg)
26 int afbBindingV3entry(struct afb_api_x3 *rootapi)
28 return afb_api_queue_job(rootapi, application, "BOB", NULL, 0);