blob: fa275f463e10b958e8885e29890452b2eb70ab6d [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* fileio.c */
2void filemess __ARGS((buf_T *buf, char_u *name, char_u *s, int attr));
3int 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));
4int prep_exarg __ARGS((exarg_T *eap, buf_T *buf));
5int 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));
6char_u *shorten_fname __ARGS((char_u *full_path, char_u *dir_name));
7void shorten_fnames __ARGS((int force));
8void shorten_filenames __ARGS((char_u **fnames, int count));
9char_u *modname __ARGS((char_u *fname, char_u *ext, int prepend_dot));
10char_u *buf_modname __ARGS((int shortname, char_u *fname, char_u *ext, int prepend_dot));
11int vim_fgets __ARGS((char_u *buf, int size, FILE *fp));
12int tag_fgets __ARGS((char_u *buf, int size, FILE *fp));
13int vim_rename __ARGS((char_u *from, char_u *to));
14int check_timestamps __ARGS((int focus));
15int buf_check_timestamp __ARGS((buf_T *buf, int focus));
16void buf_store_time __ARGS((buf_T *buf, struct stat *st, char_u *fname));
17void write_lnum_adjust __ARGS((linenr_T offset));
18void vim_deltempdir __ARGS((void));
19char_u *vim_tempname __ARGS((int extra_char));
20void forward_slash __ARGS((char_u *fname));
21void do_augroup __ARGS((char_u *arg, int del_group));
22int check_ei __ARGS((void));
23void do_autocmd __ARGS((char_u *arg, int forceit));
24int do_doautocmd __ARGS((char_u *arg, int do_msg));
25void ex_doautoall __ARGS((exarg_T *eap));
26void aucmd_prepbuf __ARGS((aco_save_T *aco, buf_T *buf));
27void aucmd_restbuf __ARGS((aco_save_T *aco));
28int apply_autocmds __ARGS((EVENT_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf));
29int apply_autocmds_retval __ARGS((EVENT_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, int *retval));
30int has_cursorhold __ARGS((void));
31int has_autocmd __ARGS((EVENT_T event, char_u *sfname));
32char_u *get_augroup_name __ARGS((expand_T *xp, int idx));
33char_u *set_context_in_autocmd __ARGS((expand_T *xp, char_u *arg, int doautocmd));
34char_u *get_event_name __ARGS((expand_T *xp, int idx));
35int au_exists __ARGS((char_u *name, char_u *name_end, char_u *pattern));
36int match_file_pat __ARGS((char_u *pattern, char_u *fname, char_u *sfname, char_u *tail, int allow_dirs));
37int match_file_list __ARGS((char_u *list, char_u *sfname, char_u *ffname));
38char_u *file_pat_to_reg_pat __ARGS((char_u *pat, char_u *pat_end, char *allow_dirs, int no_bslash));
39/* vim: set ft=c : */