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