X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-ws.h;h=5ba3cc1afeed9ce36dc55b6bbe00c106bec4269a;hb=e22f8536c5f8833828a6d5cb8f5a77a8c0712e08;hp=af435ea6915b283790e8daf9f15a070b164ecdc2;hpb=8e62dd65bcc04910e46f47fb8f098d37f19f25c4;p=src%2Fapp-framework-binder.git diff --git a/src/afb-ws.h b/src/afb-ws.h index af435ea6..5ba3cc1a 100644 --- a/src/afb-ws.h +++ b/src/afb-ws.h @@ -33,6 +33,7 @@ struct afb_ws_itf extern struct afb_ws *afb_ws_create(struct sd_event *eloop, int fd, const struct afb_ws_itf *itf, void *closure); extern void afb_ws_destroy(struct afb_ws *ws); extern void afb_ws_hangup(struct afb_ws *ws); +extern int afb_ws_is_connected(struct afb_ws *ws); extern int afb_ws_close(struct afb_ws *ws, uint16_t code, const char *reason); extern int afb_ws_error(struct afb_ws *ws, uint16_t code, const char *reason); extern int afb_ws_text(struct afb_ws *ws, const char *text, size_t length);