fdev: Introduce fdev for file event handling
[src/app-framework-binder.git] / src / afb-stub-ws.h
index 4e07f98..3bb56fe 100644 (file)
 
 #pragma once
 
+struct fdev;
 struct afb_stub_ws;
 struct afb_apiset;
 struct afb_api;
 
-extern struct afb_stub_ws *afb_stub_ws_create_client(int fd, const char *apiname, struct afb_apiset *apiset);
+extern struct afb_stub_ws *afb_stub_ws_create_client(struct fdev *fdev, const char *apiname, struct afb_apiset *apiset);
 
-extern struct afb_stub_ws *afb_stub_ws_create_server(int fd, const char *apiname, struct afb_apiset *apiset);
+extern struct afb_stub_ws *afb_stub_ws_create_server(struct fdev *fdev, const char *apiname, struct afb_apiset *apiset);
 
 extern void afb_stub_ws_unref(struct afb_stub_ws *stubws);