X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfs.pod;h=129c68174b8687c5e471ecd79192cad8024803f4;hp=bf75e423c53aa604cfbf9842ca3495e7a1f03208;hb=c9cc61940b41b1abb763a1932adfc3461372c10b;hpb=55bf8fd622e9f84364b505db6591ace3ec2b5447 diff --git a/guestfs.pod b/guestfs.pod index bf75e42..129c681 100644 --- a/guestfs.pod +++ b/guestfs.pod @@ -34,8 +34,7 @@ schemes, qcow, qcow2, vmdk. Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, what filesystem is in each LV, etc.). It can also run commands -in the context of the guest. Also you can mount guest filesystems on -the host (requires root privs and NFS). +in the context of the guest. Also you can access filesystems over FTP. Libguestfs is a library that can be linked with C and C++ management programs (or management programs written in other languages, if people @@ -238,6 +237,22 @@ situations. This returns the current out of memory handler. +=head1 AUTOSYNC + +=head2 guestfs_set_autosync + + void guestfs_set_autosync (guestfs_h *handle, int autosync); + +If C is true, this enables autosync. Libguestfs will make a +best effort attempt to run C when the handle is closed +(also if the program exits without closing handles). + +=head2 guestfs_get_autosync + + int guestfs_get_autosync (guestfs_h *handle); + +Get the autosync flag. + =head1 VERBOSE MESSAGES =head2 guestfs_set_verbose @@ -257,14 +272,7 @@ This returns the verbose messages flag. =head1 HIGH-LEVEL API ACTIONS - - - - - - - - +@ACTIONS@ =head1 STATE MACHINE AND LOW-LEVEL EVENT API @@ -366,6 +374,8 @@ this function with C set to C. =head2 NON-BLOCKING ACTIONS +XXX NOT IMPLEMENTED YET XXX + C is the most interesting callback to play with, since it allows you to perform actions without blocking. @@ -391,8 +401,7 @@ For example: } There are C and C functions -corresponding to (very nearly) every C action in the -high-level API. +corresponding to every C action in the high-level API. =head2 guestfs_set_reply_callback