diff --git a/introspect/introspect.go b/introspect/introspect.go index 8ee6105..a81f845 100644 --- a/introspect/introspect.go +++ b/introspect/introspect.go @@ -17,6 +17,22 @@ var IntrospectData = Interface{ }, } +// PeerData is the introspection data for the org.freedesktop.DBus.Peer interface. +var PeerData = Interface{ + Name: "org.freedesktop.DBus.Peer", + Methods: []Method{ + { + Name: "Ping", + }, + { + Name: "GetMachineId", + Args: []Arg{ + {"machine_uuid", "s", "out"}, + }, + }, + }, +} + // XML document type declaration of the introspection format version 1.0 const IntrospectDeclarationString = `