blob: 4662194a702b8984f03371dc6fb4d2f08a771e9e [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* memfile.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002memfile_T *mf_open(char_u *fname, int flags);
3int mf_open_file(memfile_T *mfp, char_u *fname);
4void mf_close(memfile_T *mfp, int del_file);
5void mf_close_file(buf_T *buf, int getlines);
6void mf_new_page_size(memfile_T *mfp, unsigned new_size);
7bhdr_T *mf_new(memfile_T *mfp, int negative, int page_count);
8bhdr_T *mf_get(memfile_T *mfp, blocknr_T nr, int page_count);
9void mf_put(memfile_T *mfp, bhdr_T *hp, int dirty, int infile);
10void mf_free(memfile_T *mfp, bhdr_T *hp);
11int mf_sync(memfile_T *mfp, int flags);
12void mf_set_dirty(memfile_T *mfp);
13int mf_release_all(void);
14blocknr_T mf_trans_del(memfile_T *mfp, blocknr_T old_nr);
15void mf_set_ffname(memfile_T *mfp);
16void mf_fullname(memfile_T *mfp);
17int mf_need_trans(memfile_T *mfp);
Bram Moolenaar071d4272004-06-13 20:20:40 +000018/* vim: set ft=c : */