diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-04-12 03:12:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-12 03:12:08 +0200 |
commit | e11a9d351a9f0ae278755e3c18bcc9aab05c1266 (patch) | |
tree | 1e90f9c9ae08f13688443cbbe22c6437fd716967 /src/nvim/msgpack_rpc/channel_defs.h | |
parent | b4ca56d96dcf0fe14150115a8826206710d0567a (diff) | |
parent | 8dbf23181add0393556bdb3f4d026e46c7dcbf1e (diff) | |
download | rneovim-e11a9d351a9f0ae278755e3c18bcc9aab05c1266.tar.gz rneovim-e11a9d351a9f0ae278755e3c18bcc9aab05c1266.tar.bz2 rneovim-e11a9d351a9f0ae278755e3c18bcc9aab05c1266.zip |
Merge pull request #9887 from justinmk/chan-notif-response-id
RPC: eliminate NO_RESPONSE
Diffstat (limited to 'src/nvim/msgpack_rpc/channel_defs.h')
-rw-r--r-- | src/nvim/msgpack_rpc/channel_defs.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/msgpack_rpc/channel_defs.h b/src/nvim/msgpack_rpc/channel_defs.h index bfa7f7b87c..6ef8c027f0 100644 --- a/src/nvim/msgpack_rpc/channel_defs.h +++ b/src/nvim/msgpack_rpc/channel_defs.h @@ -13,23 +13,24 @@ typedef struct Channel Channel; typedef struct { - uint64_t request_id; + uint32_t request_id; bool returned, errored; Object result; } ChannelCallFrame; typedef struct { + MessageType type; Channel *channel; MsgpackRpcRequestHandler handler; Array args; - uint64_t request_id; + uint32_t request_id; } RequestEvent; typedef struct { PMap(cstr_t) *subscribed_events; bool closed; msgpack_unpacker *unpacker; - uint64_t next_request_id; + uint32_t next_request_id; kvec_t(ChannelCallFrame *) call_stack; Dictionary info; } RpcState; |