X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fguestfs.pod;h=6ccecedb0844866899af4df7ec28e4daa80c6d54;hp=8cb1b8677cd8fb404e9cfd39f89400e565ccbc0b;hb=9420eaf44ec4067c3740b91b0be0fede08a0c515;hpb=6146412f06c2f6f33c3ea7d571f16d4fe71dddb2 diff --git a/src/guestfs.pod b/src/guestfs.pod index 8cb1b86..6cceced 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -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