X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fguestfs.pod;h=6ccecedb0844866899af4df7ec28e4daa80c6d54;hb=f0f3e1621180724e0a907a30ff5dea9695ddead0;hp=a1831c0d0d23e81b5396b2a50cef0d8c8cb4353c;hpb=1bf3941b9ccabef122cc6479004d18ddcb935eef;p=libguestfs.git diff --git a/src/guestfs.pod b/src/guestfs.pod index a1831c0..6cceced 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -1453,8 +1453,8 @@ Returns the current error handler callback. =head2 guestfs_set_out_of_memory_handler typedef void (*guestfs_abort_cb) (void); - int guestfs_set_out_of_memory_handler (guestfs_h *g, - guestfs_abort_cb); + void guestfs_set_out_of_memory_handler (guestfs_h *g, + guestfs_abort_cb); The callback C will be called if there is an out of memory situation. I. @@ -1833,6 +1833,21 @@ If no callback is registered: the messages are sent to stderr. You can override the printing of trace messages to stderr by setting up a callback. +=item GUESTFS_EVENT_ENTER +(payload type: function name) + +The callback function is called whenever a libguestfs function +is entered. + +The payload is a string which contains the name of the function +that we are entering (not including C prefix). + +Note that libguestfs functions can call themselves, so you may +see many events from a single call. A few libguestfs functions +do not generate this event. + +If no callback is registered: the event is ignored. + =back =head3 guestfs_set_event_callback