Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* memfile.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | memfile_T *mf_open(char_u *fname, int flags); |
| 3 | int mf_open_file(memfile_T *mfp, char_u *fname); |
| 4 | void mf_close(memfile_T *mfp, int del_file); |
| 5 | void mf_close_file(buf_T *buf, int getlines); |
| 6 | void mf_new_page_size(memfile_T *mfp, unsigned new_size); |
| 7 | bhdr_T *mf_new(memfile_T *mfp, int negative, int page_count); |
| 8 | bhdr_T *mf_get(memfile_T *mfp, blocknr_T nr, int page_count); |
| 9 | void mf_put(memfile_T *mfp, bhdr_T *hp, int dirty, int infile); |
| 10 | void mf_free(memfile_T *mfp, bhdr_T *hp); |
| 11 | int mf_sync(memfile_T *mfp, int flags); |
| 12 | void mf_set_dirty(memfile_T *mfp); |
| 13 | int mf_release_all(void); |
| 14 | blocknr_T mf_trans_del(memfile_T *mfp, blocknr_T old_nr); |
| 15 | void mf_set_ffname(memfile_T *mfp); |
| 16 | void mf_fullname(memfile_T *mfp); |
| 17 | int mf_need_trans(memfile_T *mfp); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 18 | /* vim: set ft=c : */ |