1#ifndef DEFINE_FUNC_ATTRIBUTES
2# define DEFINE_FUNC_ATTRIBUTES
3#endif
4#include "nvim/func_attr.h"
5#undef DEFINE_FUNC_ATTRIBUTES
6static void cursorhold_event(void **argv);
7static void create_cursorhold_event(_Bool events_enabled);
8static uint8_t check_multiclick(int code, int grid, int row, int col);
9static unsigned int handle_mouse_event(char **ptr, uint8_t *buf, unsigned int bufsize);
10static InbufPollResult inbuf_poll(int ms, MultiQueue *events);
11static void input_read_cb(Stream *stream, RBuffer *buf, size_t c, void *data, _Bool at_eof);
12static void process_interrupts(void);
13static int push_event_key(uint8_t *buf, int maxlen);
14static _Bool input_ready(MultiQueue *events);
15static void read_error_exit(void);
16static _Bool pending_events(MultiQueue *events);
17#include "nvim/func_attr.h"
18