X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-monitor.c;h=e34b59898ebbb56724fda903283bdb780c1f110a;hb=6e7f3d28a2d08a8976fdd9c586b4cbddcaeb37bd;hp=937e2160e82d7a5ac4d946c660a1b8ec86ba3552;hpb=3e56dc3fc7ce31cb932fbd86e78eea02049d0b7e;p=src%2Fapp-framework-binder.git diff --git a/src/afb-monitor.c b/src/afb-monitor.c index 937e2160..e34b5989 100644 --- a/src/afb-monitor.c +++ b/src/afb-monitor.c @@ -21,12 +21,12 @@ #include -#include +#define AFB_BINDING_VERSION 0 +#include #include "afb-api.h" #include "afb-apiset.h" #include "afb-api-so-v2.h" -#include "afb-ditf.h" #include "afb-evt.h" #include "afb-xreq.h" #include "afb-trace.h" @@ -148,7 +148,7 @@ static void set_verbosity(struct json_object *spec) /** * Translate verbosity level to a protocol indication. - * @param level the verbosity + * @param level the verbosity * @return the encoded verbosity */ static struct json_object *encode_verbosity(int level) @@ -325,7 +325,7 @@ static void f_set(struct afb_req req) static void *context_create() { - return afb_trace_create(&datav2.daemon, NULL); + return afb_trace_create(_afb_binding_v2_monitor.api, NULL); } static void context_destroy(void *pointer)