diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-09-07 21:40:33 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-09-07 21:40:33 +0000 |
commit | c224fc199c25dd257673c273eb344786b9bf532c (patch) | |
tree | 8f8ed1297120c537480d9e5d46bfe7452bd8505b /usr.bin/vim/proto/memfile.pro | |
parent | d0d91e2d3d6569e4defdd5178241f28fa678d753 (diff) |
Initial import of vim 4.2.
This is meant to replace nvi in the tree. Vim, in general, works better,
provides more features, and does not suffer from the license problems
being imposed upon nvi.
On the other hand, vim lacks a non-visual ex mode, in addition to open mode.
This includes the GUI (X11) code, but doesn't try to compile it.
Diffstat (limited to 'usr.bin/vim/proto/memfile.pro')
-rw-r--r-- | usr.bin/vim/proto/memfile.pro | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.bin/vim/proto/memfile.pro b/usr.bin/vim/proto/memfile.pro new file mode 100644 index 00000000000..3261ee5b19d --- /dev/null +++ b/usr.bin/vim/proto/memfile.pro @@ -0,0 +1,16 @@ +/* $OpenBSD: memfile.pro,v 1.1 1996/09/07 21:40:29 downsj Exp $ */ +/* memfile.c */ +MEMFILE *mf_open __PARMS((char_u *fname, int trunc_file)); +int mf_open_file __PARMS((MEMFILE *mfp, char_u *fname)); +void mf_close __PARMS((MEMFILE *mfp, int del_file)); +BHDR *mf_new __PARMS((MEMFILE *mfp, int negative, int page_count)); +BHDR *mf_get __PARMS((MEMFILE *mfp, blocknr_t nr, int page_count)); +void mf_put __PARMS((MEMFILE *mfp, BHDR *hp, int dirty, int infile)); +void mf_free __PARMS((MEMFILE *mfp, BHDR *hp)); +int mf_sync __PARMS((MEMFILE *mfp, int all, int check_char, int do_fsync)); +int mf_release_all __PARMS((void)); +blocknr_t mf_trans_del __PARMS((MEMFILE *mfp, blocknr_t old_nr)); +void mf_set_xfname __PARMS((MEMFILE *mfp)); +void mf_fullname __PARMS((MEMFILE *mfp)); +int mf_need_trans __PARMS((MEMFILE *mfp)); +void mf_statistics __PARMS((void)); |