summaryrefslogtreecommitdiffstats
path: root/src/guestfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/guestfs.h')
-rw-r--r--src/guestfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/guestfs.h b/src/guestfs.h
index ec88f228..0bfad4f9 100644
--- a/src/guestfs.h
+++ b/src/guestfs.h
@@ -67,6 +67,10 @@ extern void guestfs_set_launch_done_callback (guestfs_h *g, guestfs_launch_done_
extern void guestfs_set_close_callback (guestfs_h *g, guestfs_close_cb cb, void *opaque);
extern void guestfs_set_progress_callback (guestfs_h *g, guestfs_progress_cb cb, void *opaque);
+/*--- Private data area ---*/
+extern void guestfs_set_private (guestfs_h *g, const char *key, void *data);
+extern void *guestfs_get_private (guestfs_h *g, const char *key);
+
/*--- Structures and actions ---*/
#include <rpc/types.h>
#include <rpc/xdr.h>