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