Merge branch 'vim'
[MacVim/KaoriYa.git] / src / proto / fileio.pro
blobe5a1b284aec5c7659839075d4bf731f00cfd397e
1 /* fileio.c */
2 void filemess __ARGS((buf_T *buf, char_u *name, char_u *s, int attr));
3 int readfile __ARGS((char_u *fname, char_u *sfname, linenr_T from, linenr_T lines_to_skip, linenr_T lines_to_read, exarg_T *eap, int flags));
4 int prep_exarg __ARGS((exarg_T *eap, buf_T *buf));
5 int check_file_readonly __ARGS((char_u *fname, int perm));
6 int buf_write __ARGS((buf_T *buf, char_u *fname, char_u *sfname, linenr_T start, linenr_T end, exarg_T *eap, int append, int forceit, int reset_changed, int filtering));
7 void msg_add_fname __ARGS((buf_T *buf, char_u *fname));
8 void msg_add_lines __ARGS((int insert_space, long lnum, long nchars));
9 char_u *shorten_fname1 __ARGS((char_u *full_path));
10 char_u *shorten_fname __ARGS((char_u *full_path, char_u *dir_name));
11 void shorten_fnames __ARGS((int force));
12 void shorten_filenames __ARGS((char_u **fnames, int count));
13 char_u *modname __ARGS((char_u *fname, char_u *ext, int prepend_dot));
14 char_u *buf_modname __ARGS((int shortname, char_u *fname, char_u *ext, int prepend_dot));
15 int vim_fgets __ARGS((char_u *buf, int size, FILE *fp));
16 int tag_fgets __ARGS((char_u *buf, int size, FILE *fp));
17 int vim_rename __ARGS((char_u *from, char_u *to));
18 int check_timestamps __ARGS((int focus));
19 int buf_check_timestamp __ARGS((buf_T *buf, int focus));
20 void buf_reload __ARGS((buf_T *buf, int orig_mode));
21 void buf_store_time __ARGS((buf_T *buf, struct stat *st, char_u *fname));
22 void write_lnum_adjust __ARGS((linenr_T offset));
23 void vim_deltempdir __ARGS((void));
24 char_u *vim_tempname __ARGS((int extra_char));
25 void forward_slash __ARGS((char_u *fname));
26 void aubuflocal_remove __ARGS((buf_T *buf));
27 int au_has_group __ARGS((char_u *name));
28 void do_augroup __ARGS((char_u *arg, int del_group));
29 void free_all_autocmds __ARGS((void));
30 int check_ei __ARGS((void));
31 char_u *au_event_disable __ARGS((char *what));
32 void au_event_restore __ARGS((char_u *old_ei));
33 void do_autocmd __ARGS((char_u *arg, int forceit));
34 int do_doautocmd __ARGS((char_u *arg, int do_msg));
35 void ex_doautoall __ARGS((exarg_T *eap));
36 void aucmd_prepbuf __ARGS((aco_save_T *aco, buf_T *buf));
37 void aucmd_restbuf __ARGS((aco_save_T *aco));
38 int apply_autocmds __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf));
39 int apply_autocmds_retval __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, int *retval));
40 int has_cursorhold __ARGS((void));
41 int trigger_cursorhold __ARGS((void));
42 int has_cursormoved __ARGS((void));
43 int has_cursormovedI __ARGS((void));
44 void block_autocmds __ARGS((void));
45 void unblock_autocmds __ARGS((void));
46 int has_autocmd __ARGS((event_T event, char_u *sfname, buf_T *buf));
47 char_u *get_augroup_name __ARGS((expand_T *xp, int idx));
48 char_u *set_context_in_autocmd __ARGS((expand_T *xp, char_u *arg, int doautocmd));
49 char_u *get_event_name __ARGS((expand_T *xp, int idx));
50 int autocmd_supported __ARGS((char_u *name));
51 int au_exists __ARGS((char_u *arg));
52 int match_file_pat __ARGS((char_u *pattern, regprog_T *prog, char_u *fname, char_u *sfname, char_u *tail, int allow_dirs));
53 int match_file_list __ARGS((char_u *list, char_u *sfname, char_u *ffname));
54 char_u *file_pat_to_reg_pat __ARGS((char_u *pat, char_u *pat_end, char *allow_dirs, int no_bslash));
55 /* vim: set ft=c : */