X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-ws.h;h=a32363ed5ff9858aced8e0c3ddcd4e21176e5006;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=5ba3cc1afeed9ce36dc55b6bbe00c106bec4269a;hpb=e22f8536c5f8833828a6d5cb8f5a77a8c0712e08;p=src%2Fapp-framework-binder.git diff --git a/src/afb-ws.h b/src/afb-ws.h index 5ba3cc1a..a32363ed 100644 --- a/src/afb-ws.h +++ b/src/afb-ws.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 "IoT.bzh" + * Copyright (C) 2015-2020 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,7 +18,7 @@ #pragma once struct afb_ws; -struct sd_event; +struct fdev; struct iovec; struct afb_ws_itf @@ -30,7 +30,7 @@ struct afb_ws_itf void (*on_hangup) (void *); /* optional, it is safe too call afb_ws_destroy within the callback */ }; -extern struct afb_ws *afb_ws_create(struct sd_event *eloop, int fd, const struct afb_ws_itf *itf, void *closure); +extern struct afb_ws *afb_ws_create(struct fdev *fdev, 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);