blob: 88f0dac07cc0102e8544b586081da235e78b3144 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* memline.c */
Bram Moolenaar76b92b22006-03-24 22:46:53 +00002extern int ml_open __ARGS((buf_T *buf));
3extern void ml_setname __ARGS((buf_T *buf));
4extern void ml_open_files __ARGS((void));
5extern void ml_open_file __ARGS((buf_T *buf));
6extern void check_need_swap __ARGS((int newfile));
7extern void ml_close __ARGS((buf_T *buf, int del_file));
8extern void ml_close_all __ARGS((int del_file));
9extern void ml_close_notmod __ARGS((void));
10extern void ml_timestamp __ARGS((buf_T *buf));
11extern void ml_recover __ARGS((void));
12extern int recover_names __ARGS((char_u **fname, int list, int nr));
13extern void ml_sync_all __ARGS((int check_file, int check_char));
14extern void ml_preserve __ARGS((buf_T *buf, int message));
15extern char_u *ml_get __ARGS((linenr_T lnum));
16extern char_u *ml_get_pos __ARGS((pos_T *pos));
17extern char_u *ml_get_curline __ARGS((void));
18extern char_u *ml_get_cursor __ARGS((void));
19extern char_u *ml_get_buf __ARGS((buf_T *buf, linenr_T lnum, int will_change));
20extern int ml_line_alloced __ARGS((void));
21extern int ml_append __ARGS((linenr_T lnum, char_u *line, colnr_T len, int newfile));
22extern int ml_append_buf __ARGS((buf_T *buf, linenr_T lnum, char_u *line, colnr_T len, int newfile));
23extern int ml_replace __ARGS((linenr_T lnum, char_u *line, int copy));
24extern int ml_delete __ARGS((linenr_T lnum, int message));
25extern void ml_setmarked __ARGS((linenr_T lnum));
26extern linenr_T ml_firstmarked __ARGS((void));
27extern void ml_clearmarked __ARGS((void));
28extern char_u *makeswapname __ARGS((char_u *fname, char_u *ffname, buf_T *buf, char_u *dir_name));
29extern char_u *get_file_in_dir __ARGS((char_u *fname, char_u *dname));
30extern void ml_setflags __ARGS((buf_T *buf));
31extern long ml_find_line_or_offset __ARGS((buf_T *buf, linenr_T lnum, long *offp));
32extern void goto_byte __ARGS((long cnt));
Bram Moolenaar071d4272004-06-13 20:20:40 +000033/* vim: set ft=c : */