Mercurial > vim
diff src/proto/fileio.pro @ 2239:732cb7b31956 vim73
Crypt the text in the undo file if the file itself is crypted.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 30 May 2010 22:48:02 +0200 |
parents | 0e6b369b9760 |
children | 60da25e3aab7 |
line wrap: on
line diff
--- a/src/proto/fileio.pro +++ b/src/proto/fileio.pro @@ -2,6 +2,10 @@ void filemess __ARGS((buf_T *buf, char_u *name, char_u *s, int attr)); 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)); int prep_exarg __ARGS((exarg_T *eap, buf_T *buf)); +int prepare_crypt_read __ARGS((FILE *fp)); +char_u *prepare_crypt_write __ARGS((buf_T *buf, int *lenp)); +size_t fwrite_crypt __ARGS((buf_T *buf, char_u *ptr, size_t len, FILE *fp)); +char_u *read_string_decrypt __ARGS((buf_T *buf, FILE *fd, int len)); int check_file_readonly __ARGS((char_u *fname, int perm)); 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)); void msg_add_fname __ARGS((buf_T *buf, char_u *fname));