summaryrefslogtreecommitdiff
path: root/usr.bin/vim/proto/memline.pro
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-09-07 21:40:33 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-09-07 21:40:33 +0000
commitc224fc199c25dd257673c273eb344786b9bf532c (patch)
tree8f8ed1297120c537480d9e5d46bfe7452bd8505b /usr.bin/vim/proto/memline.pro
parentd0d91e2d3d6569e4defdd5178241f28fa678d753 (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/memline.pro')
-rw-r--r--usr.bin/vim/proto/memline.pro26
1 files changed, 26 insertions, 0 deletions
diff --git a/usr.bin/vim/proto/memline.pro b/usr.bin/vim/proto/memline.pro
new file mode 100644
index 00000000000..9309eb76139
--- /dev/null
+++ b/usr.bin/vim/proto/memline.pro
@@ -0,0 +1,26 @@
+/* $OpenBSD: memline.pro,v 1.1 1996/09/07 21:40:29 downsj Exp $ */
+/* memline.c */
+int ml_open __PARMS((void));
+void ml_setname __PARMS((void));
+void ml_open_files __PARMS((void));
+void ml_close __PARMS((BUF *buf, int del_file));
+void ml_close_all __PARMS((int del_file));
+void ml_close_notmod __PARMS((void));
+void ml_timestamp __PARMS((BUF *buf));
+void ml_recover __PARMS((void));
+int recover_names __PARMS((char_u **fname, int list, int nr));
+void ml_sync_all __PARMS((int check_file, int check_char));
+void ml_preserve __PARMS((BUF *buf, int message));
+char_u *ml_get __PARMS((linenr_t lnum));
+char_u *ml_get_pos __PARMS((FPOS *pos));
+char_u *ml_get_curline __PARMS((void));
+char_u *ml_get_cursor __PARMS((void));
+char_u *ml_get_buf __PARMS((BUF *buf, linenr_t lnum, int will_change));
+int ml_line_alloced __PARMS((void));
+int ml_append __PARMS((linenr_t lnum, char_u *line, colnr_t len, int newfile));
+int ml_replace __PARMS((linenr_t lnum, char_u *line, int copy));
+int ml_delete __PARMS((linenr_t lnum, int message));
+void ml_setmarked __PARMS((linenr_t lnum));
+linenr_t ml_firstmarked __PARMS((void));
+int ml_has_mark __PARMS((linenr_t lnum));
+void ml_clearmarked __PARMS((void));