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