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
afb-evt: Use 16 bits for ids
[src/app-framework-binder.git]
/
src
/
afb-stub-ws.c
diff --git
a/src/afb-stub-ws.c
b/src/afb-stub-ws.c
index
40addd0
..
2a48745
100644
(file)
--- a/
src/afb-stub-ws.c
+++ b/
src/afb-stub-ws.c
@@
-316,7
+316,7
@@
static struct json_object *client_api_describe_cb(void * closure)
/******************* server part: manage events **********************************/
/******************* server part: manage events **********************************/
-static void server_event_add_cb(void *closure, const char *event,
in
t eventid)
+static void server_event_add_cb(void *closure, const char *event,
uint16_
t eventid)
{
struct afb_stub_ws *stubws = closure;
{
struct afb_stub_ws *stubws = closure;
@@
-324,7
+324,7
@@
static void server_event_add_cb(void *closure, const char *event, int eventid)
afb_proto_ws_server_event_create(stubws->proto, event, eventid);
}
afb_proto_ws_server_event_create(stubws->proto, event, eventid);
}
-static void server_event_remove_cb(void *closure, const char *event,
in
t eventid)
+static void server_event_remove_cb(void *closure, const char *event,
uint16_
t eventid)
{
struct afb_stub_ws *stubws = closure;
{
struct afb_stub_ws *stubws = closure;
@@
-332,7
+332,7
@@
static void server_event_remove_cb(void *closure, const char *event, int eventid
afb_proto_ws_server_event_remove(stubws->proto, event, eventid);
}
afb_proto_ws_server_event_remove(stubws->proto, event, eventid);
}
-static void server_event_push_cb(void *closure, const char *event,
in
t eventid, struct json_object *object)
+static void server_event_push_cb(void *closure, const char *event,
uint16_
t eventid, struct json_object *object)
{
struct afb_stub_ws *stubws = closure;
{
struct afb_stub_ws *stubws = closure;