Function: with-tramp-dbus-get-all-properties

with-tramp-dbus-get-all-properties is a macro defined in tramp-gvfs.el.gz.

Signature

(with-tramp-dbus-get-all-properties VEC BUS SERVICE PATH INTERFACE)

Documentation

Return all properties of INTERFACE.

The call will be traced by Tramp with trace level 6.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-gvfs.el.gz
(defmacro with-tramp-dbus-get-all-properties
  (vec bus service path interface)
  "Return all properties of INTERFACE.
The call will be traced by Tramp with trace level 6."
  (declare (indent 1) (debug t))
  ;; Check, that interface exists at object path.  Retrieve properties.
  `(when (member
	  ,interface
	  (tramp-dbus-function
	   ,vec #'dbus-introspect-get-interface-names
	   (list ,bus ,service ,path)))
     (tramp-dbus-function
      ,vec #'dbus-get-all-properties (list ,bus ,service ,path ,interface))))