1/* undo.c */ 2int u_save_cursor(void); 3int u_save(linenr_T top, linenr_T bot); 4int u_savesub(linenr_T lnum); 5int u_inssub(linenr_T lnum); 6int u_savedel(linenr_T lnum, long nlines); 7int undo_allowed(void); 8int u_savecommon(linenr_T top, linenr_T bot, linenr_T newbot, int reload); 9void u_compute_hash(char_u *hash); 10char_u *u_get_undo_file_name(char_u *buf_ffname, int reading); 11void u_write_undo(char_u *name, int forceit, buf_T *buf, char_u *hash); 12void u_read_undo(char_u *name, char_u *hash, char_u *orig_name); 13void u_undo(int count); 14void u_redo(int count); 15void undo_time(long step, int sec, int file, int absolute); 16void u_sync(int force); 17void ex_undolist(exarg_T *eap); 18void ex_undojoin(exarg_T *eap); 19void u_unchanged(buf_T *buf); 20void u_find_first_changed(void); 21void u_update_save_nr(buf_T *buf); 22void u_clearall(buf_T *buf); 23void u_saveline(linenr_T lnum); 24void u_clearline(void); 25void u_undoline(void); 26void u_blockfree(buf_T *buf); 27int bufIsChanged(buf_T *buf); 28int curbufIsChanged(void); 29void u_eval_tree(u_header_T *first_uhp, list_T *list); 30/* vim: set ft=c : */ 31