X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-ws-json1.h;h=96db1bc6387c87a65b3e6653c093a55ab15a4fd4;hb=a63851bb4726c89d9a3c5755d78d1c4bbc3f3b2e;hp=fedbcf6c487cc739e8b81051497eeb06a76add1f;hpb=28158192742ead144454e071720d10bf5218a20b;p=src%2Fapp-framework-binder.git diff --git a/src/afb-ws-json1.h b/src/afb-ws-json1.h index fedbcf6c..96db1bc6 100644 --- a/src/afb-ws-json1.h +++ b/src/afb-ws-json1.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 "IoT.bzh" + * Copyright (C) 2016, 2017 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -19,6 +19,9 @@ struct afb_ws_json1; struct afb_context; +struct afb_apiset; -extern struct afb_ws_json1 *afb_ws_json1_create(int fd, struct afb_context *context, void (*cleanup)(void*), void *closure); +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_addref(struct afb_ws_json1 *ws); +extern void afb_ws_json1_unref(struct afb_ws_json1 *ws);