1#ifndef DEFINE_FUNC_ATTRIBUTES
2# define DEFINE_FUNC_ATTRIBUTES
3#endif
4#include "nvim/func_attr.h"
5#undef DEFINE_FUNC_ATTRIBUTES
6static Channel *channel_alloc(ChannelStreamType type);
7static void free_channel_event(void **argv);
8static void channel_destroy_early(Channel *chan);
9static void close_cb(Stream *stream, void *data);
10static inline list_T *buffer_to_tv_list(const char *const buf, const size_t len) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_ALWAYS_INLINE;
11static void on_channel_output(Stream *stream, Channel *chan, RBuffer *buf, size_t count, _Bool eof, CallbackReader *reader);
12static void schedule_channel_event(Channel *chan);
13static void on_channel_event(void **args);
14static void channel_process_exit_cb(Process *proc, int status, void *data);
15static void channel_callback_call(Channel *chan, CallbackReader *reader);
16static void term_write(char *buf, size_t size, void *data);
17static void term_resize(uint16_t width, uint16_t height, void *data);
18static inline void term_delayed_free(void **argv);
19static void term_close(void *data);
20static void set_info_event(void **argv);
21#include "nvim/func_attr.h"
22