X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-ws-json1.h;h=f714c222b378c4ef95782429436e09bdbc3430c3;hb=c94e1ef88adc641ebbab57377b97f8a7b6a70d1b;hp=964835bd530fa60b35cba0cd471e138c94405cb7;hpb=c7e9786d408f13d8f8f43c6b68da916bbb1ed5f3;p=src%2Fapp-framework-binder.git diff --git a/src/afb-ws-json1.h b/src/afb-ws-json1.h index 964835bd..f714c222 100644 --- a/src/afb-ws-json1.h +++ b/src/afb-ws-json1.h @@ -18,7 +18,10 @@ #pragma once struct afb_ws_json1; -struct AFB_clientCtx; +struct afb_context; +struct afb_req_itf; -extern struct afb_ws_json1 *afb_ws_json1_create(int fd, struct AFB_clientCtx *context, void (*cleanup)(void*), void *closure); +extern const struct afb_req_itf afb_ws_json1_req_itf; + +extern struct afb_ws_json1 *afb_ws_json1_create(int fd, struct afb_context *context, void (*cleanup)(void*), void *closure);