Function: dbus-introspect

dbus-introspect is a byte-compiled function defined in dbus.el.gz.

Signature

(dbus-introspect BUS SERVICE PATH)

Documentation

Return all interfaces and sub-nodes of SERVICE, registered at object path PATH at bus BUS.

BUS is either a Lisp keyword, :system or :session, or a string denoting the bus address. SERVICE must be a known service name, and PATH must be a valid object path. The last two parameters are strings. The result, the introspection data, is a string in XML format.

Source Code

;; Defined in /usr/src/emacs/lisp/net/dbus.el.gz
(defun dbus-introspect (bus service path)
  "Return all interfaces and sub-nodes of SERVICE,
registered at object path PATH at bus BUS.

BUS is either a Lisp keyword, `:system' or `:session', or a
string denoting the bus address.  SERVICE must be a known service
name, and PATH must be a valid object path.  The last two
parameters are strings.  The result, the introspection data, is a
string in XML format."
  ;; We don't want to raise errors.
  (let (dbus-debug)
    (dbus-ignore-errors
      (dbus-call-method
       bus service path dbus-interface-introspectable "Introspect"
       :timeout 1000))))