summaryrefslogtreecommitdiffstats
path: root/lua/examples/guestfs-lua.pod
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-11-19 18:19:29 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-11-19 18:19:29 +0000
commitfdfdc883fcac8c8d7e4e9a86572d941421b5ff87 (patch)
tree2d8f51537aeaead560a6104fe8c139dc01338724 /lua/examples/guestfs-lua.pod
parente866ee7c792ab3c5a25737e27038a718b0c5a995 (diff)
downloadlibguestfs-fdfdc883fcac8c8d7e4e9a86572d941421b5ff87.tar.gz
libguestfs-fdfdc883fcac8c8d7e4e9a86572d941421b5ff87.tar.xz
libguestfs-fdfdc883fcac8c8d7e4e9a86572d941421b5ff87.zip
lua: Document Guestfs.event_all.
Diffstat (limited to 'lua/examples/guestfs-lua.pod')
-rw-r--r--lua/examples/guestfs-lua.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/examples/guestfs-lua.pod b/lua/examples/guestfs-lua.pod
index d8dc3dc6..18d427b5 100644
--- a/lua/examples/guestfs-lua.pod
+++ b/lua/examples/guestfs-lua.pod
@@ -94,6 +94,9 @@ second argument a list:
eh = g:set_event_callback (cb, { "appliance", "library", "trace" })
+A list of all valid event types (strings) is in the global variable
+C<Guestfs.event_all>.
+
The callback (C<cb>) is called with the following parameters:
function cb (g, event, eh, flags, buf, array)