summaryrefslogtreecommitdiffstats
path: root/src/guestfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/guestfs.h')
-rw-r--r--src/guestfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guestfs.h b/src/guestfs.h
index c677730a..3905554c 100644
--- a/src/guestfs.h
+++ b/src/guestfs.h
@@ -33,6 +33,8 @@ extern guestfs_h *guestfs_create (void);
extern void guestfs_close (guestfs_h *g);
/* Error handling. */
+extern const char *guestfs_last_error (guestfs_h *g);
+
typedef void (*guestfs_error_handler_cb) (guestfs_h *g, void *data, const char *msg);
typedef void (*guestfs_abort_cb) (void);