summaryrefslogtreecommitdiffstats
path: root/src/afb-stub-ws.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-stub-ws.h')
-rw-r--r--src/afb-stub-ws.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/afb-stub-ws.h b/src/afb-stub-ws.h
index 4e07f982..3bb56feb 100644
--- a/src/afb-stub-ws.h
+++ b/src/afb-stub-ws.h
@@ -18,13 +18,14 @@
#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);