1#ifndef DEFINE_FUNC_ATTRIBUTES
2# define DEFINE_FUNC_ATTRIBUTES
3#endif
4#include "nvim/func_attr.h"
5#undef DEFINE_FUNC_ATTRIBUTES
6int name_to_mod_mask(int c) FUNC_ATTR_CONST FUNC_ATTR_WARN_UNUSED_RESULT;
7int simplify_key(const int key, int *modifiers) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL;
8int handle_x_keys(const int key) FUNC_ATTR_CONST FUNC_ATTR_WARN_UNUSED_RESULT;
9char_u *get_special_key_name(int c, int modifiers);
10unsigned int trans_special(const char_u **srcp, const size_t src_len, char_u *const dst, const _Bool keycode, const _Bool in_string) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT;
11int find_special_key(const char_u **srcp, const size_t src_len, int *const modp, const _Bool keycode, const _Bool keep_x_key, const _Bool in_string) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL;
12int find_special_key_in_table(int c);
13int get_special_key_code(const char_u *name) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT;
14int get_mouse_button(int code, _Bool *is_click, _Bool *is_drag);
15char_u *replace_termcodes(const char_u *from, const size_t from_len, char_u **bufp, const _Bool from_part, const _Bool do_lt, const _Bool special, int cpo_flags) FUNC_ATTR_NONNULL_ALL;
16void log_key(int log_level, int key);
17#include "nvim/func_attr.h"
18