From c224fc199c25dd257673c273eb344786b9bf532c Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Sat, 7 Sep 1996 21:40:33 +0000 Subject: 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. --- usr.bin/vim/proto/memfile.pro | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 usr.bin/vim/proto/memfile.pro (limited to 'usr.bin/vim/proto/memfile.pro') 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)); -- cgit v1.2.3