X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=libubus.h;h=a120eb6d9f419dd99702cd56030af254393a73db;hp=c16495e86b8a99932ed538ef6472682396e8af85;hb=3642af8097bf546fc7ce476a730e1187a35a3942;hpb=4b9ed896cf26942071af0bcd276663ab84b8cbad diff --git a/libubus.h b/libubus.h index c16495e..a120eb6 100644 --- a/libubus.h +++ b/libubus.h @@ -120,7 +120,7 @@ struct ubus_context { struct uloop_fd sock; uint32_t local_id; - uint32_t request_seq; + uint16_t request_seq; int stack_depth; void (*connection_lost)(struct ubus_context *ctx); @@ -141,7 +141,7 @@ struct ubus_object_data { struct ubus_request_data { uint32_t object; uint32_t peer; - uint32_t seq; + uint16_t seq; bool deferred; }; @@ -156,7 +156,7 @@ struct ubus_request { bool notify; uint32_t peer; - uint32_t seq; + uint16_t seq; ubus_data_handler_t raw_data_cb; ubus_data_handler_t data_cb;