X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-stub-ws.h;h=8c2b7c9f1a04537b27f1fe0bf8aff16676344468;hb=ca0f859d96599c8ae295c85f825030c891969de1;hp=e14eac17a5cea1c0620463c7d2c75362484ae563;hpb=4521c1e7ae5371ab9d639adc617d17fb4e8ded0c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-stub-ws.h b/src/afb-stub-ws.h index e14eac17..8c2b7c9f 100644 --- a/src/afb-stub-ws.h +++ b/src/afb-stub-ws.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017, 2018 "IoT.bzh" + * Copyright (C) 2016-2019 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,7 +31,7 @@ extern void afb_stub_ws_unref(struct afb_stub_ws *stubws); extern void afb_stub_ws_addref(struct afb_stub_ws *stubws); -extern void afb_stub_ws_on_hangup(struct afb_stub_ws *stubws, void (*on_hangup)(struct afb_stub_ws*)); +extern void afb_stub_ws_set_on_hangup(struct afb_stub_ws *stubws, void (*on_hangup)(struct afb_stub_ws*)); extern const char *afb_stub_ws_name(struct afb_stub_ws *stubws); @@ -39,3 +39,5 @@ extern struct afb_api_item afb_stub_ws_client_api(struct afb_stub_ws *stubws); extern int afb_stub_ws_client_add(struct afb_stub_ws *stubws, struct afb_apiset *apiset); +extern void afb_stub_ws_client_robustify(struct afb_stub_ws *stubws, struct fdev *(*reopen)(void*), void *closure, void (*release)(void*)); +