X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fmonitor-api.inc;h=e5fe5e53549f5a0e2c4ff4e6eb1889b8ee322685;hb=4a3d0c568ec5ee1296f4a50f269a1eadc4898e27;hp=71c2a029a10a8f7b9291fcb788b53d516f0eb468;hpb=ae6f684d830871e81b0b4168424f6a4873eabbff;p=src%2Fapp-framework-binder.git diff --git a/src/monitor-api.inc b/src/monitor-api.inc index 71c2a029..e5fe5e53 100644 --- a/src/monitor-api.inc +++ b/src/monitor-api.inc @@ -50,13 +50,15 @@ static const struct afb_verb_v2 _afb_verbs_v2_monitor[] = { .verb = "get", .callback = f_get, .auth = &_afb_auths_v2_monitor[2], - .session = 0, + .info = NULL, + .session = AFB_SESSION_NONE_V2 }, { .verb = "set", .callback = f_set, .auth = &_afb_auths_v2_monitor[0], - .session = 0, + .info = NULL, + .session = AFB_SESSION_NONE_V2 }, { .verb = NULL } }; @@ -64,9 +66,11 @@ static const struct afb_verb_v2 _afb_verbs_v2_monitor[] = { static const struct afb_binding_v2 _afb_binding_v2_monitor = { .api = "monitor", .specification = _afb_description_v2_monitor, + .info = NULL, .verbs = _afb_verbs_v2_monitor, + .preinit = NULL, .init = NULL, - .start = NULL, .onevent = NULL, + .noconcurrency = 0 };