summaryrefslogtreecommitdiffstats
path: root/src/guestfs-internal.h
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-11-09 18:50:57 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-10 10:52:12 +0000
commit1c29849e0bdc731c023cff00d2c2354a41fd2a92 (patch)
treefd2ab2d342a725ec37fe1c6345fb33412384fc5b /src/guestfs-internal.h
parenta0b4caa0821b759de01361b7019c9c9c9607027d (diff)
downloadlibguestfs-1c29849e0bdc731c023cff00d2c2354a41fd2a92.tar.gz
libguestfs-1c29849e0bdc731c023cff00d2c2354a41fd2a92.tar.xz
libguestfs-1c29849e0bdc731c023cff00d2c2354a41fd2a92.zip
Add internal facility to checkpoint and roll back the command line.
This internal interface can be used to ensure that certain operations are atomic.
Diffstat (limited to 'src/guestfs-internal.h')
-rw-r--r--src/guestfs-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
index 067251c2..f8b3e94d 100644
--- a/src/guestfs-internal.h
+++ b/src/guestfs-internal.h
@@ -234,6 +234,8 @@ extern int guestfs___match2 (guestfs_h *g, const char *str, const pcre *re, char
#endif
extern int guestfs___feature_available (guestfs_h *g, const char *feature);
extern void guestfs___free_string_list (char **);
+extern int guestfs___checkpoint_cmdline (guestfs_h *g);
+extern void guestfs___rollback_cmdline (guestfs_h *g, int pos);
#define error(g,...) guestfs_error_errno((g),0,__VA_ARGS__)
#define perrorf guestfs_perrorf