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); 10void u_write_undo(char_u *name, int forceit, buf_T *buf, char_u *hash); 11void u_read_undo(char_u *name, char_u *hash, char_u *orig_name); 12void u_undo(int count); 13void u_redo(int count); 14void undo_time(long step, int sec, int file, int absolute); 15void u_sync(int force); 16void ex_undolist(exarg_T *eap); 17void ex_undojoin(exarg_T *eap); 18void u_unchanged(buf_T *buf); 19void u_find_first_changed(void); 20void u_update_save_nr(buf_T *buf); 21void u_clearall(buf_T *buf); 22void u_clearline(void); 23void u_undoline(void); 24void u_blockfree(buf_T *buf); 25int bufIsChanged(buf_T *buf); 26int anyBufIsChanged(void); 27int bufIsChangedNotTerm(buf_T *buf); 28int curbufIsChanged(void); 29void f_undofile(typval_T *argvars, typval_T *rettv); 30void u_undofile_reset_and_delete(buf_T *buf); 31void f_undotree(typval_T *argvars, typval_T *rettv); 32/* vim: set ft=c : */ 33