1/* misc2.c */ 2int virtual_active(void); 3int getviscol(void); 4int coladvance_force(colnr_T wcol); 5int getviscol2(colnr_T col, colnr_T coladd); 6int coladvance(colnr_T wcol); 7int getvpos(pos_T *pos, colnr_T wcol); 8int inc_cursor(void); 9int inc(pos_T *lp); 10int incl(pos_T *lp); 11int dec_cursor(void); 12int dec(pos_T *lp); 13int decl(pos_T *lp); 14linenr_T get_cursor_rel_lnum(win_T *wp, linenr_T lnum); 15void check_pos(buf_T *buf, pos_T *pos); 16void check_cursor_lnum(void); 17void check_cursor_col(void); 18void check_cursor_col_win(win_T *win); 19void check_cursor(void); 20void adjust_cursor_col(void); 21int leftcol_changed(void); 22int copy_option_part(char_u **option, char_u *buf, int maxlen, char *sep_chars); 23int vim_isspace(int x); 24int simplify_key(int key, int *modifiers); 25int handle_x_keys(int key); 26char_u *get_special_key_name(int c, int modifiers); 27int trans_special(char_u **srcp, char_u *dst, int flags, int *did_simplify); 28int special_to_buf(int key, int modifiers, int keycode, char_u *dst); 29int find_special_key(char_u **srcp, int *modp, int flags, int *did_simplify); 30int may_adjust_key_for_ctrl(int modifiers, int key); 31int may_remove_shift_modifier(int modifiers, int key); 32int extract_modifiers(int key, int *modp, int simplify, int *did_simplify); 33int find_special_key_in_table(int c); 34int get_special_key_code(char_u *name); 35char_u *get_key_name(int i); 36int get_fileformat(buf_T *buf); 37int get_fileformat_force(buf_T *buf, exarg_T *eap); 38void set_fileformat(int t, int opt_flags); 39int default_fileformat(void); 40int call_shell(char_u *cmd, int opt); 41int get_real_state(void); 42int after_pathsep(char_u *b, char_u *p); 43int same_directory(char_u *f1, char_u *f2); 44int vim_chdirfile(char_u *fname, char *trigger_autocmd); 45int vim_stat(const char *name, stat_T *stp); 46char *parse_shape_opt(int what); 47int get_shape_idx(int mouse); 48void update_mouseshape(int shape_idx); 49int vim_chdir(char_u *new_dir); 50int get_user_name(char_u *buf, int len); 51void free_username(void); 52int filewritable(char_u *fname); 53int get2c(FILE *fd); 54int get3c(FILE *fd); 55int get4c(FILE *fd); 56char_u *read_string(FILE *fd, int cnt); 57int put_bytes(FILE *fd, long_u nr, int len); 58int mch_parse_cmd(char_u *cmd, int use_shcf, char ***argv, int *argc); 59int build_argv_from_string(char_u *cmd, char ***argv, int *argc); 60int build_argv_from_list(list_T *l, char ***argv, int *argc); 61int get_special_pty_type(void); 62/* vim: set ft=c : */ 63