X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hook.h;h=2ad01b856bf564c23c7e71ae88308855899e1e2c;hb=e2c431bcda7f057b4767c3e8142b9e0ca0d32bc6;hp=ae6ef8328a6affaf56457f9e327fc7061b30a9a9;hpb=a38382e89710db2c298f7f101e3ba0cf3681287c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hook.h b/src/afb-hook.h index ae6ef832..2ad01b85 100644 --- a/src/afb-hook.h +++ b/src/afb-hook.h @@ -59,7 +59,7 @@ struct afb_context; struct json_object; struct afb_arg; struct afb_event; -struct AFB_clientCtx; +struct afb_session; struct afb_hook; struct afb_hook_req; @@ -90,7 +90,7 @@ struct afb_hook_req_itf { extern struct afb_req afb_hook_req_call(struct afb_req req, struct afb_context *context, const char *api, size_t lenapi, const char *verb, size_t lenverb); -extern struct afb_hook *afb_hook_req_create(const char *api, const char *verb, struct AFB_clientCtx *session, unsigned flags, struct afb_hook_req_itf *itf, void *closure); +extern struct afb_hook *afb_hook_req_create(const char *api, const char *verb, struct afb_session *session, unsigned flags, struct afb_hook_req_itf *itf, void *closure); extern struct afb_hook *afb_hook_addref(struct afb_hook *spec); extern void afb_hook_unref(struct afb_hook *spec);