Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* misc1.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame^] | 2 | int get_indent(void); |
| 3 | int get_indent_lnum(linenr_T lnum); |
| 4 | int get_indent_buf(buf_T *buf, linenr_T lnum); |
| 5 | int get_indent_str(char_u *ptr, int ts, int list); |
| 6 | int set_indent(int size, int flags); |
| 7 | int get_number_indent(linenr_T lnum); |
| 8 | int get_breakindent_win(win_T *wp, char_u *line); |
| 9 | int open_line(int dir, int flags, int second_line_indent); |
| 10 | int get_leader_len(char_u *line, char_u **flags, int backward, int include_space); |
| 11 | int get_last_leader_offset(char_u *line, char_u **flags); |
| 12 | int plines(linenr_T lnum); |
| 13 | int plines_win(win_T *wp, linenr_T lnum, int winheight); |
| 14 | int plines_nofill(linenr_T lnum); |
| 15 | int plines_win_nofill(win_T *wp, linenr_T lnum, int winheight); |
| 16 | int plines_win_nofold(win_T *wp, linenr_T lnum); |
| 17 | int plines_win_col(win_T *wp, linenr_T lnum, long column); |
| 18 | int plines_m_win(win_T *wp, linenr_T first, linenr_T last); |
| 19 | void ins_bytes(char_u *p); |
| 20 | void ins_bytes_len(char_u *p, int len); |
| 21 | void ins_char(int c); |
| 22 | void ins_char_bytes(char_u *buf, int charlen); |
| 23 | void ins_str(char_u *s); |
| 24 | int del_char(int fixpos); |
| 25 | int del_chars(long count, int fixpos); |
| 26 | int del_bytes(long count, int fixpos_arg, int use_delcombine); |
| 27 | int truncate_line(int fixpos); |
| 28 | void del_lines(long nlines, int undo); |
| 29 | int gchar_pos(pos_T *pos); |
| 30 | int gchar_cursor(void); |
| 31 | void pchar_cursor(int c); |
| 32 | int inindent(int extra); |
| 33 | char_u *skip_to_option_part(char_u *p); |
| 34 | void changed(void); |
| 35 | void changed_int(void); |
| 36 | void changed_bytes(linenr_T lnum, colnr_T col); |
| 37 | void appended_lines(linenr_T lnum, long count); |
| 38 | void appended_lines_mark(linenr_T lnum, long count); |
| 39 | void deleted_lines(linenr_T lnum, long count); |
| 40 | void deleted_lines_mark(linenr_T lnum, long count); |
| 41 | void changed_lines(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra); |
| 42 | void unchanged(buf_T *buf, int ff); |
| 43 | void check_status(buf_T *buf); |
| 44 | void change_warning(int col); |
| 45 | int ask_yesno(char_u *str, int direct); |
| 46 | int is_mouse_key(int c); |
| 47 | int get_keystroke(void); |
| 48 | int get_number(int colon, int *mouse_used); |
| 49 | int prompt_for_number(int *mouse_used); |
| 50 | void msgmore(long n); |
| 51 | void beep_flush(void); |
| 52 | void vim_beep(unsigned val); |
| 53 | void init_homedir(void); |
| 54 | void free_homedir(void); |
| 55 | void free_users(void); |
| 56 | char_u *expand_env_save(char_u *src); |
| 57 | char_u *expand_env_save_opt(char_u *src, int one); |
| 58 | void expand_env(char_u *src, char_u *dst, int dstlen); |
| 59 | void expand_env_esc(char_u *srcp, char_u *dst, int dstlen, int esc, int one, char_u *startstr); |
| 60 | char_u *vim_getenv(char_u *name, int *mustfree); |
| 61 | void vim_setenv(char_u *name, char_u *val); |
| 62 | char_u *get_env_name(expand_T *xp, int idx); |
| 63 | char_u *get_users(expand_T *xp, int idx); |
| 64 | int match_user(char_u *name); |
| 65 | void home_replace(buf_T *buf, char_u *src, char_u *dst, int dstlen, int one); |
| 66 | char_u *home_replace_save(buf_T *buf, char_u *src); |
| 67 | int fullpathcmp(char_u *s1, char_u *s2, int checkname); |
| 68 | char_u *gettail(char_u *fname); |
| 69 | char_u *gettail_sep(char_u *fname); |
| 70 | char_u *getnextcomp(char_u *fname); |
| 71 | char_u *get_past_head(char_u *path); |
| 72 | int vim_ispathsep(int c); |
| 73 | int vim_ispathsep_nocolon(int c); |
| 74 | int vim_ispathlistsep(int c); |
| 75 | void shorten_dir(char_u *str); |
| 76 | int dir_of_file_exists(char_u *fname); |
| 77 | int vim_fnamecmp(char_u *x, char_u *y); |
| 78 | int vim_fnamencmp(char_u *x, char_u *y, size_t len); |
| 79 | char_u *concat_fnames(char_u *fname1, char_u *fname2, int sep); |
| 80 | char_u *concat_str(char_u *str1, char_u *str2); |
| 81 | void add_pathsep(char_u *p); |
| 82 | char_u *FullName_save(char_u *fname, int force); |
| 83 | pos_T *find_start_comment(int ind_maxcomment); |
| 84 | void do_c_expr_indent(void); |
| 85 | int cin_islabel(void); |
| 86 | int cin_iscase(char_u *s, int strict); |
| 87 | int cin_isscopedecl(char_u *s); |
| 88 | void parse_cino(buf_T *buf); |
| 89 | int get_c_indent(void); |
| 90 | int get_expr_indent(void); |
| 91 | int get_lisp_indent(void); |
| 92 | void prepare_to_exit(void); |
| 93 | void preserve_exit(void); |
| 94 | int vim_fexists(char_u *fname); |
| 95 | void line_breakcheck(void); |
| 96 | void fast_breakcheck(void); |
| 97 | int expand_wildcards_eval(char_u **pat, int *num_file, char_u ***file, int flags); |
| 98 | int expand_wildcards(int num_pat, char_u **pat, int *num_files, char_u ***files, int flags); |
| 99 | int match_suffix(char_u *fname); |
| 100 | int unix_expandpath(garray_T *gap, char_u *path, int wildoff, int flags, int didstar); |
| 101 | void remove_duplicates(garray_T *gap); |
| 102 | int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, int flags); |
| 103 | void addfile(garray_T *gap, char_u *f, int flags); |
| 104 | char_u *get_cmd_output(char_u *cmd, char_u *infile, int flags, int *ret_len); |
| 105 | void FreeWild(int count, char_u **files); |
| 106 | int goto_im(void); |
| 107 | char_u *get_isolated_shell_name(void); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 108 | /* vim: set ft=c : */ |