X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fafb-binding-v2.h;h=68e6f789464f9be2a8ed40f2cb52487c50861ed5;hb=b96bdf20d6c4b6a769ebfcff86efbaf904dd115f;hp=b1cff27cfc045f24e3fcd42a47b5ea86f33fdc7c;hpb=c6380108964e71f533d8c672bb9c217020a95e8d;p=src%2Fapp-framework-binder.git diff --git a/include/afb/afb-binding-v2.h b/include/afb/afb-binding-v2.h index b1cff27c..68e6f789 100644 --- a/include/afb/afb-binding-v2.h +++ b/include/afb/afb-binding-v2.h @@ -50,9 +50,9 @@ struct afb_binding_v2 const char *api; /* api name for the binding */ const char *specification; /* textual specification of the binding */ const struct afb_verb_v2 *verbs; /* array of descriptions of verbs terminated by a NULL name */ - int (*preinit)(); - int (*init)(); - void (*onevent)(const char *event, struct json_object *object); + int (*preinit)(); /* callback at load of the binding */ + int (*init)(); /* callback for starting the service */ + void (*onevent)(const char *event, struct json_object *object); /* callback for handling events */ unsigned noconcurrency: 1; /* avoids concurrent requests to verbs */ };