diff options
Diffstat (limited to 'src/afb-ws-json1.h')
-rw-r--r-- | src/afb-ws-json1.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afb-ws-json1.h b/src/afb-ws-json1.h index 96db1bc6..024dd8c0 100644 --- a/src/afb-ws-json1.h +++ b/src/afb-ws-json1.h @@ -20,8 +20,9 @@ struct afb_ws_json1; struct afb_context; struct afb_apiset; +struct fdev; -extern struct afb_ws_json1 *afb_ws_json1_create(int fd, struct afb_apiset *apiset, struct afb_context *context, void (*cleanup)(void*), void *closure); +extern struct afb_ws_json1 *afb_ws_json1_create(struct fdev *fdev, struct afb_apiset *apiset, struct afb_context *context, void (*cleanup)(void*), void *closure); extern struct afb_ws_json1 *afb_ws_json1_addref(struct afb_ws_json1 *ws); extern void afb_ws_json1_unref(struct afb_ws_json1 *ws); |