X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fafb-event-sender-itf.h;fp=include%2Fafb%2Fafb-evmgr-itf.h;h=ad354319318442edfc2d41badd46dad5787f5a8a;hb=031601a0c5aa944493660f991d66702cc7e52755;hp=90b1e0a93e253e610728136d126438a9945deb20;hpb=65bc678960567038ca4d07d1f9c5784b6c7a7834;p=src%2Fapp-framework-binder.git diff --git a/include/afb/afb-evmgr-itf.h b/include/afb/afb-event-sender-itf.h similarity index 71% rename from include/afb/afb-evmgr-itf.h rename to include/afb/afb-event-sender-itf.h index 90b1e0a9..ad354319 100644 --- a/include/afb/afb-evmgr-itf.h +++ b/include/afb/afb-event-sender-itf.h @@ -19,16 +19,16 @@ struct json_object; -struct afb_evmgr_itf { - void (*push)(void *evmgr, const char *name, struct json_object *object); +struct afb_event_sender_itf { + void (*push)(void *event_sender, const char *name, struct json_object *object); }; -struct afb_evmgr { - const struct afb_evmgr_itf *itf; +struct afb_event_sender { + const struct afb_event_sender_itf *itf; void *closure; }; -static inline void afb_evmgr_push(struct afb_evmgr mgr, const char *name, struct json_object *object) +static inline void afb_event_sender_push(struct afb_event_sender mgr, const char *name, struct json_object *object) { return mgr.itf->push(mgr.closure, name, object); }