X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-ws-json1.h;h=024dd8c0a34ca5219a570bf5a77472a09c66c9e9;hb=afff776f7e27c8be7610cfbd23c4d1be32699ed9;hp=335ca6082e403f5d7b1b220aa9bc17c08f78511e;hpb=a8e971702f23ee67e02b4716ad4159f12cefdca6;p=src%2Fapp-framework-binder.git diff --git a/src/afb-ws-json1.h b/src/afb-ws-json1.h index 335ca608..024dd8c0 100644 --- a/src/afb-ws-json1.h +++ b/src/afb-ws-json1.h @@ -20,6 +20,9 @@ struct afb_ws_json1; struct afb_context; struct afb_apiset; +struct fdev; -extern struct afb_ws_json1 *afb_ws_json1_create(int fd, struct afb_apiset *apiset, struct afb_context *context, void (*cleanup)(void*), void *closure); +extern struct afb_ws_json1 *afb_ws_json1_create(struct fdev *fdev, struct afb_apiset *apiset, struct afb_context *context, void (*cleanup)(void*), void *closure); +extern struct afb_ws_json1 *afb_ws_json1_addref(struct afb_ws_json1 *ws); +extern void afb_ws_json1_unref(struct afb_ws_json1 *ws);