mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
lua: Add global Guestfs.event_all (list of all events).
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
|
||||
require "guestfs"
|
||||
|
||||
for i, v in ipairs (Guestfs.event_all) do
|
||||
print (i, v)
|
||||
end
|
||||
|
||||
g = Guestfs.create ()
|
||||
|
||||
function log_callback (g, event, eh, flags, buf, array)
|
||||
|
||||
Reference in New Issue
Block a user