1#ifndef NVIM_MSGPACK_RPC_CHANNEL_H
2#define NVIM_MSGPACK_RPC_CHANNEL_H
3
4#include <stdbool.h>
5#include <uv.h>
6
7#include "nvim/api/private/defs.h"
8#include "nvim/event/socket.h"
9#include "nvim/event/process.h"
10#include "nvim/vim.h"
11#include "nvim/channel.h"
12
13#define METHOD_MAXLEN 512
14
15/// HACK: os/input.c drains this queue immediately before blocking for input.
16/// Events on this queue are async-safe, but they need the resolved state
17/// of os_inchar(), so they are processed "just-in-time".
18MultiQueue *ch_before_blocking_events;
19
20
21#ifdef INCLUDE_GENERATED_DECLARATIONS
22# include "msgpack_rpc/channel.h.generated.h"
23#endif
24#endif // NVIM_MSGPACK_RPC_CHANNEL_H
25