X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=guestfish-actions.pod;h=6fa86492dccb4b1ec14a03623c93898e94ff7f41;hb=42a8baf3c9abc6f742671f37e9e24b607e5f9857;hp=d4c0401c38ee43d3e8cdcf3ddead95850705ab76;hpb=b348eacbc4d84337856cf7cca518d61c63e92631;p=libguestfs.git diff --git a/guestfish-actions.pod b/guestfish-actions.pod index d4c0401..6fa8649 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -289,7 +289,7 @@ Return the contents of the file named C. Note that this function cannot correctly handle binary files (specifically, files containing C<\0> character which is treated -as end of string). For those you need to use the C +as end of string). For those you need to use the C function which has a more complex interface. Because of the message protocol, there is a transfer limit @@ -394,12 +394,39 @@ Return the current search path. This is always non-NULL. If it wasn't set already, then this will return the default path. +=head2 get-state + + get-state + +This returns the current state as an opaque integer. This is +only useful for printing debug and internal error messages. + +For more information on states, see L. + =head2 get-verbose get-verbose This returns the verbose messages flag. +=head2 is-busy + + is-busy + +This returns true iff this handle is busy processing a command +(in the C state). + +For more information on states, see L. + +=head2 is-config + + is-config + +This returns true iff this handle is being configured +(in the C state). + +For more information on states, see L. + =head2 is-dir is-dir path @@ -420,6 +447,24 @@ other objects like directories. See also C. +=head2 is-launching + + is-launching + +This returns true iff this handle is launching the subprocess +(in the C state). + +For more information on states, see L. + +=head2 is-ready + + is-ready + +This returns true iff this handle is ready to accept commands +(in the C state). + +For more information on states, see L. + =head2 kill-subprocess kill-subprocess