Mercurial > vim
annotate src/proto/fileio.pro @ 4825:208a6c04e6b8 v7.3.1159
updated for version 7.3.1159
Problem: The round() function is not always available. (Christ van
Willegen)
Solution: Use the solution from f_round().
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 10 Jun 2013 20:10:44 +0200 |
parents | 0fcb050fd79d |
children | 3717d569027d |
rev | line source |
---|---|
7 | 1 /* fileio.c */ |
1123 | 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)); | |
2239
732cb7b31956
Crypt the text in the undo file if the file itself is crypted.
Bram Moolenaar <bram@vim.org>
parents:
1411
diff
changeset
|
5 int prepare_crypt_read __ARGS((FILE *fp)); |
732cb7b31956
Crypt the text in the undo file if the file itself is crypted.
Bram Moolenaar <bram@vim.org>
parents:
1411
diff
changeset
|
6 char_u *prepare_crypt_write __ARGS((buf_T *buf, int *lenp)); |
1303 | 7 int check_file_readonly __ARGS((char_u *fname, int perm)); |
1123 | 8 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)); |
9 void msg_add_fname __ARGS((buf_T *buf, char_u *fname)); | |
2241
60da25e3aab7
Correct use of long instead of off_t for file size. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2239
diff
changeset
|
10 void msg_add_lines __ARGS((int insert_space, long lnum, off_t nchars)); |
1411 | 11 char_u *shorten_fname1 __ARGS((char_u *full_path)); |
1123 | 12 char_u *shorten_fname __ARGS((char_u *full_path, char_u *dir_name)); |
13 void shorten_fnames __ARGS((int force)); | |
14 void shorten_filenames __ARGS((char_u **fnames, int count)); | |
15 char_u *modname __ARGS((char_u *fname, char_u *ext, int prepend_dot)); | |
16 char_u *buf_modname __ARGS((int shortname, char_u *fname, char_u *ext, int prepend_dot)); | |
17 int vim_fgets __ARGS((char_u *buf, int size, FILE *fp)); | |
18 int tag_fgets __ARGS((char_u *buf, int size, FILE *fp)); | |
19 int vim_rename __ARGS((char_u *from, char_u *to)); | |
20 int check_timestamps __ARGS((int focus)); | |
21 int buf_check_timestamp __ARGS((buf_T *buf, int focus)); | |
22 void buf_reload __ARGS((buf_T *buf, int orig_mode)); | |
23 void buf_store_time __ARGS((buf_T *buf, struct stat *st, char_u *fname)); | |
24 void write_lnum_adjust __ARGS((linenr_T offset)); | |
25 void vim_deltempdir __ARGS((void)); | |
26 char_u *vim_tempname __ARGS((int extra_char)); | |
27 void forward_slash __ARGS((char_u *fname)); | |
28 void aubuflocal_remove __ARGS((buf_T *buf)); | |
29 int au_has_group __ARGS((char_u *name)); | |
30 void do_augroup __ARGS((char_u *arg, int del_group)); | |
31 void free_all_autocmds __ARGS((void)); | |
32 int check_ei __ARGS((void)); | |
33 char_u *au_event_disable __ARGS((char *what)); | |
34 void au_event_restore __ARGS((char_u *old_ei)); | |
35 void do_autocmd __ARGS((char_u *arg, int forceit)); | |
36 int do_doautocmd __ARGS((char_u *arg, int do_msg)); | |
37 void ex_doautoall __ARGS((exarg_T *eap)); | |
3350 | 38 int check_nomodeline __ARGS((char_u **argp)); |
1123 | 39 void aucmd_prepbuf __ARGS((aco_save_T *aco, buf_T *buf)); |
40 void aucmd_restbuf __ARGS((aco_save_T *aco)); | |
41 int apply_autocmds __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf)); | |
42 int apply_autocmds_retval __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, int *retval)); | |
43 int has_cursorhold __ARGS((void)); | |
44 int trigger_cursorhold __ARGS((void)); | |
45 int has_cursormoved __ARGS((void)); | |
46 int has_cursormovedI __ARGS((void)); | |
4232 | 47 int has_textchanged __ARGS((void)); |
48 int has_textchangedI __ARGS((void)); | |
3390 | 49 int has_insertcharpre __ARGS((void)); |
1410 | 50 void block_autocmds __ARGS((void)); |
51 void unblock_autocmds __ARGS((void)); | |
3997 | 52 char_u *getnextac __ARGS((int c, void *cookie, int indent)); |
1123 | 53 int has_autocmd __ARGS((event_T event, char_u *sfname, buf_T *buf)); |
54 char_u *get_augroup_name __ARGS((expand_T *xp, int idx)); | |
55 char_u *set_context_in_autocmd __ARGS((expand_T *xp, char_u *arg, int doautocmd)); | |
56 char_u *get_event_name __ARGS((expand_T *xp, int idx)); | |
57 int autocmd_supported __ARGS((char_u *name)); | |
58 int au_exists __ARGS((char_u *arg)); | |
59 int match_file_pat __ARGS((char_u *pattern, regprog_T *prog, char_u *fname, char_u *sfname, char_u *tail, int allow_dirs)); | |
60 int match_file_list __ARGS((char_u *list, char_u *sfname, char_u *ffname)); | |
61 char_u *file_pat_to_reg_pat __ARGS((char_u *pat, char_u *pat_end, char *allow_dirs, int no_bslash)); | |
2664 | 62 long read_eintr __ARGS((int fd, void *buf, size_t bufsize)); |
63 long write_eintr __ARGS((int fd, void *buf, size_t bufsize)); | |
7 | 64 /* vim: set ft=c : */ |