Synced with the latest branch.
[MacVim/jjgod.git] / src / proto / fileio.pro
blob068117ad6e6ae08c85190e4b56101e9d880db13c
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_fname __ARGS((char_u *full_path, char_u *dir_name));
10 void shorten_fnames __ARGS((int force));
11 void shorten_filenames __ARGS((char_u **fnames, int count));
12 char_u *modname __ARGS((char_u *fname, char_u *ext, int prepend_dot));
13 char_u *buf_modname __ARGS((int shortname, char_u *fname, char_u *ext, int prepend_dot));
14 int vim_fgets __ARGS((char_u *buf, int size, FILE *fp));
15 int tag_fgets __ARGS((char_u *buf, int size, FILE *fp));
16 int vim_rename __ARGS((char_u *from, char_u *to));
17 int check_timestamps __ARGS((int focus));
18 int buf_check_timestamp __ARGS((buf_T *buf, int focus));
19 void buf_reload __ARGS((buf_T *buf, int orig_mode));
20 void buf_store_time __ARGS((buf_T *buf, struct stat *st, char_u *fname));
21 void write_lnum_adjust __ARGS((linenr_T offset));
22 void vim_deltempdir __ARGS((void));
23 char_u *vim_tempname __ARGS((int extra_char));
24 void forward_slash __ARGS((char_u *fname));
25 void aubuflocal_remove __ARGS((buf_T *buf));
26 int au_has_group __ARGS((char_u *name));
27 void do_augroup __ARGS((char_u *arg, int del_group));
28 void free_all_autocmds __ARGS((void));
29 int check_ei __ARGS((void));
30 char_u *au_event_disable __ARGS((char *what));
31 void au_event_restore __ARGS((char_u *old_ei));
32 void do_autocmd __ARGS((char_u *arg, int forceit));
33 int do_doautocmd __ARGS((char_u *arg, int do_msg));
34 void ex_doautoall __ARGS((exarg_T *eap));
35 void aucmd_prepbuf __ARGS((aco_save_T *aco, buf_T *buf));
36 void aucmd_restbuf __ARGS((aco_save_T *aco));
37 int apply_autocmds __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf));
38 int apply_autocmds_retval __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, int *retval));
39 int has_cursorhold __ARGS((void));
40 int trigger_cursorhold __ARGS((void));
41 int has_cursormoved __ARGS((void));
42 int has_cursormovedI __ARGS((void));
43 int has_autocmd __ARGS((event_T event, char_u *sfname, buf_T *buf));
44 char_u *get_augroup_name __ARGS((expand_T *xp, int idx));
45 char_u *set_context_in_autocmd __ARGS((expand_T *xp, char_u *arg, int doautocmd));
46 char_u *get_event_name __ARGS((expand_T *xp, int idx));
47 int autocmd_supported __ARGS((char_u *name));
48 int au_exists __ARGS((char_u *arg));
49 int match_file_pat __ARGS((char_u *pattern, regprog_T *prog, char_u *fname, char_u *sfname, char_u *tail, int allow_dirs));
50 int match_file_list __ARGS((char_u *list, char_u *sfname, char_u *ffname));
51 char_u *file_pat_to_reg_pat __ARGS((char_u *pat, char_u *pat_end, char *allow_dirs, int no_bslash));
52 /* vim: set ft=c : */