diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2009-11-06 13:19:26 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-11-09 11:05:19 +0000 |
commit | d714547ab361962ca6f76ec07736f1515595b2df (patch) | |
tree | 6c1b88fca00962343b82d735ef584a38edb9cd58 /examples/to-xml.c | |
parent | 49e85f8cda664819d0f73c476f1596d1ecc128c8 (diff) | |
download | libguestfs-d714547ab361962ca6f76ec07736f1515595b2df.tar.gz libguestfs-d714547ab361962ca6f76ec07736f1515595b2df.tar.xz libguestfs-d714547ab361962ca6f76ec07736f1515595b2df.zip |
daemon: Add flags argument to command*() functions.
This adds new variations of the command*() functions which
take a 'flags' argument. Currently the only flag available
is defined as follows:
COMMAND_FLAG_FOLD_STDOUT_ON_STDERR: For broken external commands
that send error messages to stdout (hello, parted) but that don't
have any useful stdout information, use this flag to capture the
error messages in the *stderror buffer. If using this flag,
you should pass stdoutput as NULL because nothing could ever be
captured in that buffer.
This patch also adds some documentation for command*()
function.
Diffstat (limited to 'examples/to-xml.c')
0 files changed, 0 insertions, 0 deletions