1/* memfile.c */ 2memfile_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); 18/* vim: set ft=c : */ 19