Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Expose use of the event loop
[src/app-framework-binder.git]
/
src
/
afb-wsj1.c
diff --git
a/src/afb-wsj1.c
b/src/afb-wsj1.c
index
068a332
..
253bb5e
100644
(file)
--- a/
src/afb-wsj1.c
+++ b/
src/afb-wsj1.c
@@
-79,7
+79,7
@@
struct afb_wsj1
struct wsj1_call *calls;
};
struct wsj1_call *calls;
};
-struct afb_wsj1 *afb_wsj1_create(int fd, struct afb_wsj1_itf *itf, void *closure)
+struct afb_wsj1 *afb_wsj1_create(
struct sd_event *eloop,
int fd, struct afb_wsj1_itf *itf, void *closure)
{
struct afb_wsj1 *result;
{
struct afb_wsj1 *result;
@@
-97,7
+97,7
@@
struct afb_wsj1 *afb_wsj1_create(int fd, struct afb_wsj1_itf *itf, void *closure
if (result->tokener == NULL)
goto error2;
if (result->tokener == NULL)
goto error2;
- result->ws = afb_ws_create(fd, &wsj1_itf, result);
+ result->ws = afb_ws_create(
eloop,
fd, &wsj1_itf, result);
if (result->ws == NULL)
goto error3;
if (result->ws == NULL)
goto error3;