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