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