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