blob: 1051ff4fa3822fecee9c2d3c251a4205e7e911cd [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* fileio.c */
Bram Moolenaar76b92b22006-03-24 22:46:53 +00002extern void filemess __ARGS((buf_T *buf, char_u *name, char_u *s, int attr));
3extern 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));
4extern int prep_exarg __ARGS((exarg_T *eap, buf_T *buf));
5extern 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));
6extern void msg_add_fname __ARGS((buf_T *buf, char_u *fname));
7extern void msg_add_lines __ARGS((int insert_space, long lnum, long nchars));
8extern char_u *shorten_fname __ARGS((char_u *full_path, char_u *dir_name));
9extern void shorten_fnames __ARGS((int force));
10extern void shorten_filenames __ARGS((char_u **fnames, int count));
11extern char_u *modname __ARGS((char_u *fname, char_u *ext, int prepend_dot));
12extern char_u *buf_modname __ARGS((int shortname, char_u *fname, char_u *ext, int prepend_dot));
13extern int vim_fgets __ARGS((char_u *buf, int size, FILE *fp));
14extern int tag_fgets __ARGS((char_u *buf, int size, FILE *fp));
15extern int vim_rename __ARGS((char_u *from, char_u *to));
16extern int check_timestamps __ARGS((int focus));
17extern int buf_check_timestamp __ARGS((buf_T *buf, int focus));
18extern void buf_reload __ARGS((buf_T *buf, int orig_mode));
19extern void buf_store_time __ARGS((buf_T *buf, struct stat *st, char_u *fname));
20extern void write_lnum_adjust __ARGS((linenr_T offset));
21extern void vim_deltempdir __ARGS((void));
22extern char_u *vim_tempname __ARGS((int extra_char));
23extern void forward_slash __ARGS((char_u *fname));
24extern void aubuflocal_remove __ARGS((buf_T *buf));
25extern int au_has_group __ARGS((char_u *name));
26extern void do_augroup __ARGS((char_u *arg, int del_group));
27extern void free_all_autocmds __ARGS((void));
28extern int check_ei __ARGS((void));
29extern char_u *au_event_disable __ARGS((char *what));
30extern void au_event_restore __ARGS((char_u *old_ei));
31extern void do_autocmd __ARGS((char_u *arg, int forceit));
32extern int do_doautocmd __ARGS((char_u *arg, int do_msg));
33extern void ex_doautoall __ARGS((exarg_T *eap));
34extern void aucmd_prepbuf __ARGS((aco_save_T *aco, buf_T *buf));
35extern void aucmd_restbuf __ARGS((aco_save_T *aco));
36extern int apply_autocmds __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf));
37extern int apply_autocmds_retval __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, int *retval));
38extern int has_cursorhold __ARGS((void));
39extern int trigger_cursorhold __ARGS((void));
40extern int has_cursormoved __ARGS((void));
41extern int has_cursormovedI __ARGS((void));
42extern int has_autocmd __ARGS((event_T event, char_u *sfname, buf_T *buf));
43extern char_u *get_augroup_name __ARGS((expand_T *xp, int idx));
44extern char_u *set_context_in_autocmd __ARGS((expand_T *xp, char_u *arg, int doautocmd));
45extern char_u *get_event_name __ARGS((expand_T *xp, int idx));
46extern int autocmd_supported __ARGS((char_u *name));
47extern int au_exists __ARGS((char_u *arg));
48extern int match_file_pat __ARGS((char_u *pattern, regprog_T *prog, char_u *fname, char_u *sfname, char_u *tail, int allow_dirs));
49extern int match_file_list __ARGS((char_u *list, char_u *sfname, char_u *ffname));
50extern char_u *file_pat_to_reg_pat __ARGS((char_u *pat, char_u *pat_end, char *allow_dirs, int no_bslash));
Bram Moolenaar071d4272004-06-13 20:20:40 +000051/* vim: set ft=c : */