mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-03 19:01:31 +00:00
c5e588e6e5
- Previous commits has been reported in the ChangeLog file - hg log has been lost (moved inside ChangeLog) - Old radare1 repository has removed all the libr
31 lines
518 B
C
31 lines
518 B
C
#ifndef _INCLUDE_UNDO_H_
|
|
#define _INCLUDE_UNDO_H_
|
|
|
|
struct undow_t {
|
|
int set;
|
|
u64 off;
|
|
u8 *o; /* old data */
|
|
u8 *n; /* new data */
|
|
int len; /* length */
|
|
struct list_head list;
|
|
};
|
|
|
|
enum {
|
|
UNDO_WRITE_UNSET = 0,
|
|
UNDO_WRITE_SET = 1
|
|
};
|
|
|
|
void undo_seek();
|
|
void undo_redo();
|
|
void undo_reset();
|
|
void undo_list();
|
|
void undo_push();
|
|
|
|
void undo_write_set_all(int set);
|
|
void undo_write_new(u64 off, const u8 *data, int len);
|
|
int undo_write_set(int n, int set);
|
|
void undo_write_list();
|
|
int undo_write_size();
|
|
|
|
#endif
|