diff options
author | Matthew Booth <mbooth@redhat.com> | 2010-10-28 15:19:11 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-10-28 16:08:45 +0100 |
commit | 06fef60db5c7a96cb59aa92c4708e10333345e90 (patch) | |
tree | 8386ff20f31618b01babf924924ad36b2e737da4 /src/guestfs-internal.h | |
parent | 0353688577a27749f40bcc060e5703102c5a9649 (diff) | |
download | libguestfs-06fef60db5c7a96cb59aa92c4708e10333345e90.tar.gz libguestfs-06fef60db5c7a96cb59aa92c4708e10333345e90.tar.xz libguestfs-06fef60db5c7a96cb59aa92c4708e10333345e90.zip |
New internal function guestfs___print_timestamped_argv
This function generalises the existing print_cmdline used to output the qemu
command line to output any given command line, and exports it to other modules.
It also adds a timestamp to the old print_cmdline output for consistency with
guestfs___print_timestamped_message.
Diffstat (limited to 'src/guestfs-internal.h')
-rw-r--r-- | src/guestfs-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index 6fc9412d..10c95038 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -201,6 +201,7 @@ extern void *guestfs_safe_realloc (guestfs_h *g, void *ptr, int nbytes); extern char *guestfs_safe_strdup (guestfs_h *g, const char *str); extern char *guestfs_safe_strndup (guestfs_h *g, const char *str, size_t n); extern void *guestfs_safe_memdup (guestfs_h *g, void *ptr, size_t size); +extern void guestfs___print_timestamped_argv (guestfs_h *g, const char *argv[]); extern void guestfs___print_timestamped_message (guestfs_h *g, const char *fs, ...); extern void guestfs___free_inspect_info (guestfs_h *g); extern int guestfs___set_busy (guestfs_h *g); |