Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* fileio.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | void filemess(buf_T *buf, char_u *name, char_u *s, int attr); |
| 3 | int readfile(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(exarg_T *eap, buf_T *buf); |
| 5 | void set_file_options(int set_options, exarg_T *eap); |
| 6 | void set_forced_fenc(exarg_T *eap); |
| 7 | int check_file_readonly(char_u *fname, int perm); |
| 8 | int buf_write(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); |
| 9 | void msg_add_fname(buf_T *buf, char_u *fname); |
Bram Moolenaar | 8767f52 | 2016-07-01 17:17:39 +0200 | [diff] [blame] | 10 | void msg_add_lines(int insert_space, long lnum, off_T nchars); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 11 | char_u *shorten_fname1(char_u *full_path); |
| 12 | char_u *shorten_fname(char_u *full_path, char_u *dir_name); |
| 13 | void shorten_fnames(int force); |
| 14 | void shorten_filenames(char_u **fnames, int count); |
| 15 | char_u *modname(char_u *fname, char_u *ext, int prepend_dot); |
| 16 | char_u *buf_modname(int shortname, char_u *fname, char_u *ext, int prepend_dot); |
| 17 | int vim_fgets(char_u *buf, int size, FILE *fp); |
| 18 | int tag_fgets(char_u *buf, int size, FILE *fp); |
| 19 | int vim_rename(char_u *from, char_u *to); |
| 20 | int check_timestamps(int focus); |
| 21 | int buf_check_timestamp(buf_T *buf, int focus); |
| 22 | void buf_reload(buf_T *buf, int orig_mode); |
Bram Moolenaar | 8767f52 | 2016-07-01 17:17:39 +0200 | [diff] [blame] | 23 | void buf_store_time(buf_T *buf, stat_T *st, char_u *fname); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 24 | void write_lnum_adjust(linenr_T offset); |
| 25 | int delete_recursive(char_u *name); |
| 26 | void vim_deltempdir(void); |
| 27 | char_u *vim_tempname(int extra_char, int keep); |
| 28 | void forward_slash(char_u *fname); |
| 29 | void aubuflocal_remove(buf_T *buf); |
| 30 | int au_has_group(char_u *name); |
| 31 | void do_augroup(char_u *arg, int del_group); |
| 32 | void free_all_autocmds(void); |
| 33 | int check_ei(void); |
| 34 | char_u *au_event_disable(char *what); |
| 35 | void au_event_restore(char_u *old_ei); |
| 36 | void do_autocmd(char_u *arg, int forceit); |
Bram Moolenaar | 1610d05 | 2016-06-09 22:53:01 +0200 | [diff] [blame] | 37 | int do_doautocmd(char_u *arg, int do_msg, int *did_something); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 38 | void ex_doautoall(exarg_T *eap); |
| 39 | int check_nomodeline(char_u **argp); |
| 40 | void aucmd_prepbuf(aco_save_T *aco, buf_T *buf); |
| 41 | void aucmd_restbuf(aco_save_T *aco); |
| 42 | int apply_autocmds(event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf); |
| 43 | int apply_autocmds_retval(event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, int *retval); |
| 44 | int has_cursorhold(void); |
| 45 | int trigger_cursorhold(void); |
| 46 | int has_cursormoved(void); |
| 47 | int has_cursormovedI(void); |
| 48 | int has_textchanged(void); |
| 49 | int has_textchangedI(void); |
| 50 | int has_insertcharpre(void); |
| 51 | int has_cmdundefined(void); |
| 52 | int has_funcundefined(void); |
| 53 | void block_autocmds(void); |
| 54 | void unblock_autocmds(void); |
| 55 | int is_autocmd_blocked(void); |
| 56 | char_u *getnextac(int c, void *cookie, int indent); |
| 57 | int has_autocmd(event_T event, char_u *sfname, buf_T *buf); |
| 58 | char_u *get_augroup_name(expand_T *xp, int idx); |
| 59 | char_u *set_context_in_autocmd(expand_T *xp, char_u *arg, int doautocmd); |
| 60 | char_u *get_event_name(expand_T *xp, int idx); |
| 61 | int autocmd_supported(char_u *name); |
| 62 | int au_exists(char_u *arg); |
| 63 | int match_file_list(char_u *list, char_u *sfname, char_u *ffname); |
| 64 | char_u *file_pat_to_reg_pat(char_u *pat, char_u *pat_end, char *allow_dirs, int no_bslash); |
| 65 | long read_eintr(int fd, void *buf, size_t bufsize); |
| 66 | long write_eintr(int fd, void *buf, size_t bufsize); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 67 | /* vim: set ft=c : */ |