diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-20 00:22:02 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-20 00:22:02 +0100 |
commit | 170f262f0413de843af62b968f6d12c1c476ae7f (patch) | |
tree | b9be7ae0e59f784dfdd57ef063536218ee3f0c7d /src/guestfs.h | |
parent | d5151686d82b66c50935010fd5458be0e4386bab (diff) | |
download | libguestfs-170f262f0413de843af62b968f6d12c1c476ae7f.tar.gz libguestfs-170f262f0413de843af62b968f6d12c1c476ae7f.tar.xz libguestfs-170f262f0413de843af62b968f6d12c1c476ae7f.zip |
Implement upload and download commands.
Diffstat (limited to 'src/guestfs.h')
-rw-r--r-- | src/guestfs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/guestfs.h b/src/guestfs.h index 8a349dfb..823fefe8 100644 --- a/src/guestfs.h +++ b/src/guestfs.h @@ -67,8 +67,10 @@ extern void guestfs_set_log_message_callback (guestfs_h *g, guestfs_log_message_ extern void guestfs_set_subprocess_quit_callback (guestfs_h *g, guestfs_subprocess_quit_cb cb, void *opaque); extern void guestfs_set_launch_done_callback (guestfs_h *g, guestfs_launch_done_cb cb, void *opaque); -extern void guestfs_error (guestfs_h *g, const char *fs, ...); -extern void guestfs_perrorf (guestfs_h *g, const char *fs, ...); +extern void guestfs_error (guestfs_h *g, const char *fs, ...) + __attribute__((format (printf,2,3))); +extern void guestfs_perrorf (guestfs_h *g, const char *fs, ...) + __attribute__((format (printf,2,3))); extern void *guestfs_safe_malloc (guestfs_h *g, size_t nbytes); extern void *guestfs_safe_realloc (guestfs_h *g, void *ptr, int nbytes); extern char *guestfs_safe_strdup (guestfs_h *g, const char *str); |