MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 3.136.20.207
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/emacs/24.3/lisp/net/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/net/dbus.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:30 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/net/dbus.el
;;; in Emacs version 24.3.1
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.

;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(require 'xml)
#@46 The bus name used to talk to the bus itself.
(defconst dbus-service-dbus "org.freedesktop.DBus" (#$ . 566))
#@49 The object path used to talk to the bus itself.
(defconst dbus-path-dbus "/org/freedesktop/DBus" (#$ . 680))
#@60 The interface exported by the service `dbus-service-dbus'.
(defconst dbus-interface-dbus "org.freedesktop.DBus" (#$ . 795))
#@125 The interface for peer objects.
See URL `http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-peer'.
(defconst dbus-interface-peer (concat dbus-interface-dbus ".Peer") (#$ . 926))
#@154 The interface supported by introspectable objects.
See URL `http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-introspectable'.
(defconst dbus-interface-introspectable (concat dbus-interface-dbus ".Introspectable") (#$ . 1136))
#@135 The interface for property objects.
See URL `http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties'.
(defconst dbus-interface-properties (concat dbus-interface-dbus ".Properties") (#$ . 1396))
#@132 The object manager interface.
See URL `http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager'.
(defconst dbus-interface-objectmanager (concat dbus-interface-dbus ".ObjectManager") (#$ . 1629))
#@39 The well known service name of Emacs.
(defconst dbus-service-emacs "org.gnu.Emacs" (#$ . 1864))
#@142 The object path namespace used by Emacs.
All object paths provided by the service `dbus-service-emacs'
shall be subdirectories of this path.
(defconst dbus-path-emacs "/org/gnu/Emacs" (#$ . 1967))
#@40 The interface namespace used by Emacs.
(defconst dbus-interface-emacs "org.gnu.Emacs" (#$ . 2170))
#@132 Execute BODY; signal D-Bus error when `dbus-debug' is non-nil.
Otherwise, return result of last form in BODY, or all other errors.
(defalias 'dbus-ignore-errors '(macro . #[(&rest body) "\301\302\303B\304BBB\207" [body condition-case err progn ((dbus-error (when dbus-debug (signal (car err) (cdr err)))))] 4 (#$ . 2276)]))
(byte-code "\302\303\304\305#\210\302\303\306\307#\210\310\311\312\"\210\313\314\315\316#\210\317\316\211\203=	@\314N\2036\315N\2046\302\315\314N#\210	A\211\204*\320\314\315\321#\207" [prop --dolist-tail-- put dbus-ignore-errors lisp-indent-function 0 edebug-form-spec t font-lock-add-keywords emacs-lisp-mode ("\\<dbus-ignore-errors\\>") defvaralias dbus-event-error-hooks dbus-event-error-functions nil (saved-value saved-variable-comment) make-obsolete-variable "24.3"] 6)
#@192 Functions to be called when a D-Bus error happens in the event handler.
Every function must accept two arguments, the event and the error variable
caught in `condition-case' by `dbus-error'.
(defvar dbus-event-error-functions nil (#$ . 3097))
#@304 Hash table for temporary storing arguments of reply messages.
A key in this hash table is a list (:serial BUS SERIAL), like in
`dbus-registered-objects-table'.  BUS is either a Lisp symbol,
`:system' or `:session', or a string denoting the bus address.
SERIAL is the serial number of the reply message.
(defvar dbus-return-values-table (make-hash-table :test 'equal) (#$ . 3347))
#@195 Handler for reply messages of asynchronous D-Bus message calls.
It calls the function stored in `dbus-registered-objects-table'.
The result will be made available in `dbus-return-values-table'.
(defalias 'dbus-call-method-handler #[(&rest args) "\303\304\305!\306!E	G\307U\203	@\202	\n#\207" [last-input-event args dbus-return-values-table puthash :serial dbus-event-bus-name dbus-event-serial-number 1] 5 (#$ . 3734)])
#@2332 Call METHOD on the D-Bus BUS.

BUS is either a Lisp symbol, `:system' or `:session', or a string
denoting the bus address.

SERVICE is the D-Bus service name to be used.  PATH is the D-Bus
object path SERVICE is registered at.  INTERFACE is an interface
offered by SERVICE.  It must provide METHOD.

If the parameter `:timeout' is given, the following integer TIMEOUT
specifies the maximum number of milliseconds the method call must
return.  The default value is 25,000.  If the method call doesn't
return in time, a D-Bus error is raised.

All other arguments ARGS are passed to METHOD as arguments.  They are
converted into D-Bus types via the following rules:

  t and nil => DBUS_TYPE_BOOLEAN
  number    => DBUS_TYPE_UINT32
  integer   => DBUS_TYPE_INT32
  float     => DBUS_TYPE_DOUBLE
  string    => DBUS_TYPE_STRING
  list      => DBUS_TYPE_ARRAY

All arguments can be preceded by a type symbol.  For details about
type symbols, see Info node `(dbus)Type Conversion'.

`dbus-call-method' returns the resulting values of METHOD as a list of
Lisp objects.  The type conversion happens the other direction as for
input arguments.  It follows the mapping rules:

  DBUS_TYPE_BOOLEAN     => t or nil
  DBUS_TYPE_BYTE        => number
  DBUS_TYPE_UINT16      => number
  DBUS_TYPE_INT16       => integer
  DBUS_TYPE_UINT32      => number or float
  DBUS_TYPE_UNIX_FD     => number or float
  DBUS_TYPE_INT32       => integer or float
  DBUS_TYPE_UINT64      => number or float
  DBUS_TYPE_INT64       => integer or float
  DBUS_TYPE_DOUBLE      => float
  DBUS_TYPE_STRING      => string
  DBUS_TYPE_OBJECT_PATH => string
  DBUS_TYPE_SIGNATURE   => string
  DBUS_TYPE_ARRAY       => list
  DBUS_TYPE_VARIANT     => list
  DBUS_TYPE_STRUCT      => list
  DBUS_TYPE_DICT_ENTRY  => list

Example:

(dbus-call-method
  :session "org.gnome.seahorse" "/org/gnome/seahorse/keys/openpgp"
  "org.gnome.seahorse.Keys" "GetKeyField"
  "openpgp:657984B8C7A966DD" "simple-name")

  => (t ("Philip R. Zimmermann"))

If the result of the METHOD call is just one value, the converted Lisp
object is returned instead of a list containing this single Lisp object.

(dbus-call-method
  :system "org.freedesktop.Hal" "/org/freedesktop/Hal/devices/computer"
  "org.freedesktop.Hal.Device" "GetPropertyString"
  "system.kernel.machine")

  => "i686"
(defalias 'dbus-call-method #[(bus service path interface method &rest args) "\306>\204;\204\307\310\311D\"\210	;\204\307\310\312	D\"\210\n;\204*\307\310\312\nD\"\210;\2046\307\310\312D\"\210\f;\204B\307\310\312\fD\"\210\313
\314\"\315\316	\n\f\317
&	\320\321\215\211\320=\204e\210)\322\"\323\"\210*\207" [bus service path interface method args (:system :session) signal wrong-type-argument keywordp stringp plist-get :timeout apply dbus-message-internal dbus-call-method-handler #1=#:timeout (byte-code "\306\203\307\245\202\f\310\311\312#\211\nB\313\216\314\f\315#\315=\205@\311\316\311\211\317#)\211\203<\311\320\321\217\204<\322
C\")\202+\207" [timeout -with-timeout-timer- with-timeout-timers key dbus-return-values-table unread-command-events run-with-timer 1000.0 25 nil #[nil "\300\301\211\"\207" [throw #1#] 3] ((cancel-timer -with-timeout-timer-)) gethash :ignore read-event 0.1 (dbus-check-event event) ((error)) append event] 5) gethash remhash dbus-message-type-method-call key timeout -with-timeout-value- dbus-return-values-table] 12 (#$ . 4168)])
(byte-code "\300\301\302\"\210\303\301\302\304#\207" [defalias dbus-call-method-non-blocking dbus-call-method make-obsolete "24.3"] 4)
#@1617 Call METHOD on the D-Bus BUS asynchronously.

BUS is either a Lisp symbol, `:system' or `:session', or a string
denoting the bus address.

SERVICE is the D-Bus service name to be used.  PATH is the D-Bus
object path SERVICE is registered at.  INTERFACE is an interface
offered by SERVICE.  It must provide METHOD.

HANDLER is a Lisp function, which is called when the corresponding
return message has arrived.  If HANDLER is nil, no return message
will be expected.

If the parameter `:timeout' is given, the following integer TIMEOUT
specifies the maximum number of milliseconds the method call must
return.  The default value is 25,000.  If the method call doesn't
return in time, a D-Bus error is raised.

All other arguments ARGS are passed to METHOD as arguments.  They are
converted into D-Bus types via the following rules:

  t and nil => DBUS_TYPE_BOOLEAN
  number    => DBUS_TYPE_UINT32
  integer   => DBUS_TYPE_INT32
  float     => DBUS_TYPE_DOUBLE
  string    => DBUS_TYPE_STRING
  list      => DBUS_TYPE_ARRAY

All arguments can be preceded by a type symbol.  For details about
type symbols, see Info node `(dbus)Type Conversion'.

If HANDLER is a Lisp function, the function returns a key into the
hash table `dbus-registered-objects-table'.  The corresponding entry
in the hash table is removed, when the return message has been arrived,
and HANDLER is called.

Example:

(dbus-call-method-asynchronously
  :system "org.freedesktop.Hal" "/org/freedesktop/Hal/devices/computer"
  "org.freedesktop.Hal.Device" "GetPropertyString" 'message
  "system.kernel.machine")

  => (:serial :system 2)

  -| i686
(defalias 'dbus-call-method-asynchronously #[(bus service path interface method handler &rest args) "\306>\204;\204\307\310\311D\"\210	;\204\307\310\312	D\"\210\n;\204*\307\310\312\nD\"\210;\2046\307\310\312D\"\210\f;\204B\307\310\312\fD\"\210
\203S\313
!\204S\307\310\313
D\"\210\314\315	\n\f
&	\207" [bus service path interface method handler (:system :session) signal wrong-type-argument keywordp stringp functionp apply dbus-message-internal dbus-message-type-method-call args] 10 (#$ . 7759)])
#@1052 Send signal SIGNAL on the D-Bus BUS.

BUS is either a Lisp symbol, `:system' or `:session', or a string
denoting the bus address.  The signal is sent from the D-Bus object
Emacs is registered at BUS.

SERVICE is the D-Bus name SIGNAL is sent to.  It can be either a known
name or a unique name.  If SERVICE is nil, the signal is sent as
broadcast message.  PATH is the D-Bus object path SIGNAL is sent from.
INTERFACE is an interface available at PATH.  It must provide signal
SIGNAL.

All other arguments ARGS are passed to SIGNAL as arguments.  They are
converted into D-Bus types via the following rules:

  t and nil => DBUS_TYPE_BOOLEAN
  number    => DBUS_TYPE_UINT32
  integer   => DBUS_TYPE_INT32
  float     => DBUS_TYPE_DOUBLE
  string    => DBUS_TYPE_STRING
  list      => DBUS_TYPE_ARRAY

All arguments can be preceded by a type symbol.  For details about
type symbols, see Info node `(dbus)Type Conversion'.

Example:

(dbus-send-signal
  :session nil "/org/gnu/Emacs" "org.gnu.Emacs.FileManager"
  "FileModified" "/home/albinus/.emacs")
(defalias 'dbus-send-signal #[(bus service path interface signal &rest args) "\306>\204;\204\304\307\310D\"\210	\203\"	;\204\"\304\307\311	D\"\210\n;\204.\304\307\311\nD\"\210;\204:\304\307\311D\"\210\f;\204F\304\307\311\fD\"\210\312\313
	\n\f\f&\207" [bus service path interface signal dbus-message-type-signal (:system :session) wrong-type-argument keywordp stringp apply dbus-message-internal args] 9 (#$ . 9904)])
#@113 Return for message SERIAL on the D-Bus BUS.
This is an internal function, it shall not be used outside dbus.el.
(defalias 'dbus-method-return-internal #[(bus service serial &rest args) "\305>\204;\204\306\307\310D\"\210	;\204\306\307\311	D\"\210\312\n!\204+\306\307\312\nD\"\210\313\314	\n\f&\207" [bus service serial dbus-message-type-method-return args (:system :session) signal wrong-type-argument keywordp stringp natnump apply dbus-message-internal] 7 (#$ . 11398)])
#@127 Return error message for message SERIAL on the D-Bus BUS.
This is an internal function, it shall not be used outside dbus.el.
(defalias 'dbus-method-error-internal #[(bus service serial &rest args) "\305>\204;\204\306\307\310D\"\210	;\204\306\307\311	D\"\210\312\n!\204+\306\307\312\nD\"\210\313\314	\n\f&\207" [bus service serial dbus-message-type-error args (:system :session) signal wrong-type-argument keywordp stringp natnump apply dbus-message-internal] 7 (#$ . 11890)])
#@193 Returns all registered member registrations to D-Bus.
The return value is a list, with elements of kind (KEY . VALUE).
See `dbus-registered-objects-table' for a description of the
hash table.
(defalias 'dbus-list-hash-table #[nil "\302\303\304	\"\210)\207" [result dbus-registered-objects-table nil maphash #[(key value) "\302\303	B\304#\207" [key value add-to-list result append] 4]] 3 (#$ . 12387)])
#@427 Set the value of the BUS environment variable named VARIABLE to VALUE.

BUS is either a Lisp symbol, `:system' or `:session', or a string
denoting the bus address.  Both VARIABLE and VALUE should be strings.

Normally, services inherit the environment of the BUS daemon.  This
function adds to or modifies that environment when activating services.

Some bus instances, such as `:system', may disable setting the environment.
(defalias 'dbus-setenv #[(bus variable value) "\306	\n\307\310\311\f
ED&\207" [bus dbus-service-dbus dbus-path-dbus dbus-interface-dbus variable value dbus-call-method "UpdateActivationEnvironment" :array :dict-entry] 10 (#$ . 12799)])
#@969 Register known name SERVICE on the D-Bus BUS.

BUS is either a Lisp symbol, `:system' or `:session', or a string
denoting the bus address.

SERVICE is the D-Bus service name that should be registered.  It must
be a known name.

FLAGS are keywords, which control how the service name is registered.
The following keywords are recognized:

`:allow-replacement': Allow another service to become the primary
owner if requested.

`:replace-existing': Request to replace the current primary owner.

`:do-not-queue': If we can not become the primary owner do not place
us in the queue.

The function returns a keyword, indicating the result of the
operation.  One of the following keywords is returned:

`:primary-owner': Service has become the primary owner of the
requested name.

`:in-queue': Service could not become the primary owner and has been
placed in the queue.

`:exists': Service is already in the queue.

`:already-owner': Service is already the primary owner.
(defalias 'dbus-register-service #[(bus service &rest flags) "\306	\307\n\310\311\312&\210\313\307
\307\211\203Q@\f\314=\203*\315\202F\316=\2035\317\202F\320=\203@\321\202F\322\323C\"\\A\211\204*\324 !\325	\f&\211\315=\203j\326\202\216\317=\203t\327\202\216\330=\203~\331\202\216\321=\203\210\332\202\216\322\333\334	D\"*\207" [bus service dbus-interface-objectmanager reply arg flags dbus-register-method nil "GetManagedObjects" dbus-managed-objects-handler dont-register 0 :allow-replacement 1 :replace-existing 2 :do-not-queue 4 signal wrong-type-argument dbus-call-method "RequestName" :primary-owner :in-queue 3 :exists :already-owner dbus-error "Could not register service" flag --dolist-tail-- dbus-service-dbus dbus-path-dbus dbus-interface-dbus] 9 (#$ . 13471)])
#@520 Unregister all objects related to SERVICE from D-Bus BUS.
BUS is either a Lisp symbol, `:system' or `:session', or a string
denoting the bus address.  SERVICE must be a known service name.

The function returns a keyword, indicating the result of the
operation.  One of the following keywords is returned:

`:released': Service has become the primary owner of the name.

`:non-existent': Service name does not exist on this bus.

`:not-owner': We are neither the primary owner nor waiting in the
queue of this service.
(defalias 'dbus-unregister-service #[(bus service) "\306\307\"\210\310	\n\f\311
&\211\312=\203\313\2026\314=\203%\315\2026\316=\2030\317\2026\320\321\322
D\")\207" [dbus-registered-objects-table bus dbus-service-dbus dbus-path-dbus dbus-interface-dbus service maphash #[(key value) "\303\211\205\n@\303\304\305\217\210\nA\211\204\303*\207" [value elt --dolist-tail-- nil (byte-code "	\211A@)\232\203(\f\211A@)\230\203(\306	\307\f
\"	#\204(\310		\"\210\306\207" [bus key x service elt value puthash delete remhash dbus-registered-objects-table] 6) ((error))] 4] dbus-call-method "ReleaseName" 1 :released 2 :non-existent 3 :not-owner signal dbus-error "Could not unregister service" reply] 8 (#$ . 15270)])
#@1969 Register for a signal on the D-Bus BUS.

BUS is either a Lisp symbol, `:system' or `:session', or a string
denoting the bus address.

SERVICE is the D-Bus service name used by the sending D-Bus object.
It can be either a known name or the unique name of the D-Bus object
sending the signal.

PATH is the D-Bus object path SERVICE is registered.  INTERFACE
is an interface offered by SERVICE.  It must provide SIGNAL.
HANDLER is a Lisp function to be called when the signal is
received.  It must accept as arguments the values SIGNAL is
sending.

SERVICE, PATH, INTERFACE and SIGNAL can be nil.  This is
interpreted as a wildcard for the respective argument.

The remaining arguments ARGS can be keywords or keyword string pairs.
The meaning is as follows:

`:argN' STRING:
`:pathN' STRING: This stands for the Nth argument of the
signal.  `:pathN' arguments can be used for object path wildcard
matches as specified by D-Bus, while an `:argN' argument
requires an exact match.

`:arg-namespace' STRING: Register for the signals, which first
argument defines the service or interface namespace STRING.

`:path-namespace' STRING: Register for the object path namespace
STRING.  All signals sent from an object path, which has STRING as
the preceding string, are matched.  This requires PATH to be nil.

`:eavesdrop': Register for unicast signals which are not directed
to the D-Bus object Emacs is registered at D-Bus BUS, if the
security policy of BUS allows this.

Example:

(defun my-signal-handler (device)
  (message "Device %s added" device))

(dbus-register-signal
  :system "org.freedesktop.Hal" "/org/freedesktop/Hal/Manager"
  "org.freedesktop.Hal.Manager" "DeviceAdded" 'my-signal-handler)

  => ((:signal :system "org.freedesktop.Hal.Manager" "DeviceAdded")
      ("org.freedesktop.Hal" "/org/freedesktop/Hal/Manager" my-signal-handler))

`dbus-register-signal' returns an object, which can be used in
`dbus-unregister-object' for removing the registration.
(defalias 'dbus-register-signal #[(bus service path interface signal handler &rest args) "\306\307\310\211\211\211.;\2034\311.G!\2044./\230\2044\312\313.\"\2044\3140.\"\2027.\f\205@\315\316\"1\205J\315\3171\"\205T\315\320\"2\205^\315\3212\"\2603@;\204n3@\204\2543\3104\2115\203\2505@\2114;\203\217\f\315\322
4#P\202\2344\203\234\323\324\3254D\"\210
T5A\2115\204y*\202U3\203U3@\f\326\n!\203\377\312\327\330\n!\"\203\377\331\332\330\n!\"3A\2113@
\333X\203\337;\204\347\323\324\325\nE\"\210\315\334
\331\335\330\n!\"\336\230\203\371\336\202\372\337$\202J\326\n!\203:\312\340\330\n!\"\203:3A\2113@\211;\204#\323\324\325\nE\"\210\315\341\331\335\330\n!\"\336\230\2034\342\2025\343#\202J\n\344=\203D\345\202J\323\324\325\nD\"P3A\2113\204\261\346\347\350\217\2106\203d\351\352\f\"\210\35301F.27\f\257\354\n8\"	\235\204\215\355\n	B8#\210\n.27E.D\207" [value key1 key uname rule counter 0 "type='signal'" nil zerop string-match "^:" dbus-get-name-owner format ",sender='%s'" ",interface='%s'" ",member='%s'" ",path='%s'" ",arg%d='%s'" signal wrong-type-argument "Wrong argument" keywordp "^:\\(arg\\|path\\)\\([[:digit:]]+\\)$" symbol-name match-string 2 63 ",arg%s%s='%s'" 1 "path" #1="" "^:\\(arg\\|path\\)-namespace$" ",%s='%s'" "path_namespace" "arg0namespace" :eavesdrop ",eavesdrop='true'" err (byte-code "\305	\n\306\f&\207" [bus dbus-service-dbus dbus-path-dbus dbus-interface-dbus rule dbus-call-method "AddMatch"] 7) ((dbus-error (byte-code "\306\307\"\204\310	@	A\"\210\202+\n\203\311\312\"\210\313\314\315#\316\f
\317&\210\306\207" [rule err dbus-debug bus dbus-service-dbus dbus-path-dbus string-match "eavesdrop" signal message "Removing eavesdrop from rule %s" replace-regexp-in-string ",eavesdrop='true'" #1# dbus-call-method "AddMatch" dbus-interface-dbus] 7))) message "Matching rule \"%s\" created" :signal gethash puthash service dbus-service-dbus bus interface path args arg --dolist-tail-- dbus-debug handler dbus-registered-objects-table] 9 (#$ . 16537)])
#@1162 Register for method METHOD on the D-Bus BUS.

BUS is either a Lisp symbol, `:system' or `:session', or a string
denoting the bus address.

SERVICE is the D-Bus service name of the D-Bus object METHOD is
registered for.  It must be a known name (See discussion of
DONT-REGISTER-SERVICE below).

PATH is the D-Bus object path SERVICE is registered (See discussion of
DONT-REGISTER-SERVICE below).  INTERFACE is the interface offered by
SERVICE.  It must provide METHOD.

HANDLER is a Lisp function to be called when a method call is
received.  It must accept the input arguments of METHOD.  The return
value of HANDLER is used for composing the returning D-Bus message.
In case HANDLER shall return a reply message with an empty argument
list, HANDLER must return the symbol `:ignore'.

When DONT-REGISTER-SERVICE is non-nil, the known name SERVICE is not
registered.  This means that other D-Bus clients have no way of
noticing the newly registered method.  When interfaces are constructed
incrementally by adding single methods or properties at a time,
DONT-REGISTER-SERVICE can be used to prevent other clients from
discovering the still incomplete interface.
(defalias 'dbus-register-method #[(bus service path interface method handler &optional dont-register-service) "\204	\306\n!\235\204\307\n	\"\210\310\n\fF\311	\f
F\312
\"\235\204:\313
B#\210
	\f
E+D\207" [dont-register-service service bus interface method key dbus-list-names dbus-register-service :method nil gethash puthash path handler key1 dbus-registered-objects-table value] 4 (#$ . 20617)])
#@378 Unregister OBJECT from D-Bus.
OBJECT must be the result of a preceding `dbus-register-method',
`dbus-register-property' or `dbus-register-signal' call.  It
returns `t' if OBJECT has been unregistered, `nil' otherwise.

When OBJECT identifies the last method or property, which is
registered for the respective service, Emacs releases its
association to the service from D-Bus.
(defalias 'dbus-unregister-object #[(object) ":\203@\203A:\204\306\307\310D\"\210@\211@	\211A@)\211A@)\211@\311	\"\312\312\211\203\220@
\313AAG
GZ\"\232\203\207\314\315	\316\"#\204q\317	\"\210\n\320=\203\207\321\f \322\3238&\210A\211\204D*\203\250\n\324>\203\250\325\326\215\204\250\327\f\"\210.\207" [object key type x bus value signal wrong-type-argument D-Bus gethash nil butlast t puthash delete remhash :signal dbus-call-method "RemoveMatch" 4 (:method :property) :found (byte-code "\301\302\"\210\303\207" [dbus-registered-objects-table maphash #[(k v) "\303\211\205\n@\303\304\305\217\210\nA\211\204\303*\207" [v e --dolist-tail-- nil (byte-code "	\211A@)\232\203\"\f\211A@)\230\203\"\fAA@\203\"\305\306\307\"\210\305\207" [bus k x service e throw :found t] 4) ((error))] 4] nil] 3) dbus-unregister-service service dbus-registered-objects-table entry ret elt --dolist-tail-- dbus-service-dbus dbus-path-dbus dbus-interface-dbus] 9 (#$ . 22210)])
#@87 Transforms STRING to list (:array :byte c1 :byte c2 ...).
STRING shall be UTF8 coded.
(defalias 'dbus-string-to-byte-array #[(string) "\304G!\203	\305\207\306\307\306\")\306\211\203*@\307	\310\nD\"A\211\204\306\307\311	\"+\207" [string result elt --dolist-tail-- zerop (:array :signature "y") nil append :byte (:array)] 5 (#$ . 23640)])
#@99 Transforms BYTE-ARRAY into UTF8 coded string.
BYTE-ARRAY must be a list of structure (c1 c2 ...).
(defalias 'dbus-byte-array-to-string #[(byte-array) "\301\302\"\207" [byte-array apply string] 3 (#$ . 24000)])
#@636 Escape an arbitrary STRING so it follows the rules for a C identifier.
The escaped string can be used as object path component, interface element
component, bus name component or member name in D-Bus.

The escaping consists of replacing all non-alphanumerics, and the
first character if it's a digit, with an underscore and two
lower-case hex digits:

   "0123abc_xyz\x01\xff" -> "_30123abc_5fxyz_01_ff"

i.e. similar to URI encoding, but with "_" taking the role of "%",
and a smaller allowed set. As a special case, "" is escaped to
"_".

Returns the escaped string.  Algorithm taken from
telepathy-glib's `tp-escape-as-identifier'.
(defalias 'dbus-escape-as-identifier #[(string) "\301G!\203	\302\207\303\304\305#\207" [string zerop "_" replace-regexp-in-string "^[0-9]\\|[^A-Za-z0-9]" #[(x) "\301\302\303H\"\207" [x format "_%2x" 0] 4]] 4 (#$ . 24218)])
#@116 Retrieve the original string from the encoded STRING.
STRING must have been coded with `dbus-escape-as-identifier'
(defalias 'dbus-unescape-from-identifier #[(string) "\301\230\203\302\207\303\304\305#\207" [string "_" "" replace-regexp-in-string "_.." #[(x) "\301\302\303\304\305O\306\"\"\207" [x format "%c" string-to-number 1 nil 16] 6]] 4 (#$ . 25087)])
#@873 Checks whether EVENT is a well formed D-Bus event.
EVENT is a list which starts with symbol `dbus-event':

  (dbus-event BUS TYPE SERIAL SERVICE PATH INTERFACE MEMBER HANDLER &rest ARGS)

BUS identifies the D-Bus the message is coming from.  It is
either a Lisp symbol, `:system' or `:session', or a string
denoting the bus address.  TYPE is the D-Bus message type which
has caused the event, SERIAL is the serial number of the received
D-Bus message.  SERVICE and PATH are the unique name and the
object path of the D-Bus object emitting the message.  INTERFACE
and MEMBER denote the message which has been sent.  HANDLER is
the function which has been registered for this message.  ARGS
are the arguments passed to HANDLER, when it is called during
event handling in `dbus-handle-event'.

This function raises a `dbus-error' signal in case the event is
not well formed.
(defalias 'dbus-check-event #[(event) "\203	\305\306	\"\210	<\205\234	@\307=\205\234	A@9\204#	A@;\205\234\310\311	8!\205\234\n\311	8W\205\234\310\312	8!\205\234\311	8U\204R\f\311	8U\204R\313	8;\205\234\311	8U\204i\f\311	8U\204i\314	8;\205\234\311	8U\204\200\f\311	8U\204\200\315	8;\205\234\311	8U\204\227\f\311	8U\204\227\316	8;\205\234\317\320	8!?\205\246\321\322\323	D\"\207" [dbus-debug event dbus-message-type-invalid dbus-message-type-method-return dbus-message-type-error message "DBus-Event %s" dbus-event natnump 2 3 4 5 6 7 functionp 8 signal dbus-error "Not a valid D-Bus event"] 4 (#$ . 25457)])
#@220 Handle events from the D-Bus.
EVENT is a D-Bus event, see `dbus-check-event'.  HANDLER, being
part of the event, is called with arguments ARGS.
If the HANDLER returns a `dbus-error', it is propagated as return message.
(defalias 'dbus-handle-event #[(event) "\300\301\302\217\207" [err (byte-code "\304\305	!\210\n\306	8U\203\307\310\311	\233\"\210\312\313	8\311	\233\"\306	8U\205*\314\315\316\217)\207" [result event dbus-message-type-error dbus-message-type-method-call nil dbus-check-event 2 signal dbus-error 9 apply 8 err (byte-code "\302=\203\303	A@\304	8\305	8#\207\306\303	A@\304	8\305	8:\203&\202(C%\207" [result event :ignore dbus-method-return-internal 4 3 apply] 6) ((dbus-error (byte-code "\205\n\302	@	A\"\207" [dbus-debug err signal] 3)))] 4) ((dbus-error (byte-code "\305	8U\203
\302\306\307\217\210\310\311	\n#\210\204\f\305	8U\205%\312\n@\nA\"\207" [dbus-message-type-method-call event err dbus-debug dbus-message-type-error 2 (byte-code "\303A@\3048\3058	\211A@)$\207" [event err x dbus-method-error-internal 4 3] 6) ((dbus-error (byte-code "\203\302	@	A\"\210\302\207" [dbus-debug err signal] 3))) run-hook-with-args dbus-event-error-functions signal] 4)))] 3 (#$ . 26969) "e"])
#@277 Return the bus name the event is coming from.
The result is either a Lisp symbol, `:system' or `:session', or a
string denoting the bus address.  EVENT is a D-Bus event, see
`dbus-check-event'.  This function raises a `dbus-error' signal
in case the event is not well formed.
(defalias 'dbus-event-bus-name #[(event) "\301!\210A@\207" [event dbus-check-event] 2 (#$ . 28204)])
#@216 Return the message type of the corresponding D-Bus message.
The result is a number.  EVENT is a D-Bus event, see
`dbus-check-event'.  This function raises a `dbus-error' signal
in case the event is not well formed.
(defalias 'dbus-event-message-type #[(event) "\301!\210\3028\207" [event dbus-check-event 2] 2 (#$ . 28590)])
#@278 Return the serial number of the corresponding D-Bus message.
The result is a number.  The serial number is needed for
generating a reply message.  EVENT is a D-Bus event, see
`dbus-check-event'.  This function raises a `dbus-error' signal
in case the event is not well formed.
(defalias 'dbus-event-serial-number #[(event) "\301!\210\3028\207" [event dbus-check-event 3] 2 (#$ . 28924)])
#@217 Return the name of the D-Bus object the event is coming from.
The result is a string.  EVENT is a D-Bus event, see `dbus-check-event'.
This function raises a `dbus-error' signal in case the event is
not well formed.
(defalias 'dbus-event-service-name #[(event) "\301!\210\3028\207" [event dbus-check-event 4] 2 (#$ . 29321)])
#@224 Return the object path of the D-Bus object the event is coming from.
The result is a string.  EVENT is a D-Bus event, see `dbus-check-event'.
This function raises a `dbus-error' signal in case the event is
not well formed.
(defalias 'dbus-event-path-name #[(event) "\301!\210\3028\207" [event dbus-check-event 5] 2 (#$ . 29656)])
#@227 Return the interface name of the D-Bus object the event is coming from.
The result is a string.  EVENT is a D-Bus event, see `dbus-check-event'.
This function raises a `dbus-error' signal in case the event is
not well formed.
(defalias 'dbus-event-interface-name #[(event) "\301!\210\3028\207" [event dbus-check-event 6] 2 (#$ . 29995)])
#@250 Return the member name the event is coming from.
It is either a signal name or a method name. The result is a
string.  EVENT is a D-Bus event, see `dbus-check-event'.  This
function raises a `dbus-error' signal in case the event is not
well formed.
(defalias 'dbus-event-member-name #[(event) "\301!\210\3028\207" [event dbus-check-event 7] 2 (#$ . 30342)])
#@207 Return the D-Bus service names which can be activated as list.
If BUS is left nil, `:system' is assumed.  The result is a list
of strings, which is `nil' when there are no activatable service
names at all.
(defalias 'dbus-list-activatable-names #[(&optional bus) "\300\301\302\217\207" [err (byte-code "\304\206\305	\n\306%\207" [bus dbus-service-dbus dbus-path-dbus dbus-interface-dbus dbus-call-method :system "ListActivatableNames"] 6) ((dbus-error (byte-code "\205\n\302	@	A\"\207" [dbus-debug err signal] 3)))] 3 (#$ . 30709)])
#@265 Return the service names registered at D-Bus BUS.
The result is a list of strings, which is `nil' when there are no
registered service names at all.  Well known names are strings
like "org.freedesktop.DBus".  Names starting with ":" are
unique names for services.
(defalias 'dbus-list-names #[(bus) "\300\301\302\217\207" [err (dbus-call-method bus dbus-service-dbus dbus-path-dbus dbus-interface-dbus "ListNames") ((dbus-error (byte-code "\205\n\302	@	A\"\207" [dbus-debug err signal] 3)))] 3 (#$ . 31255)])
#@121 Retrieve all services which correspond to a known name in BUS.
A service has a known name if it doesn't start with ":".
(defalias 'dbus-list-known-names #[(bus) "\304\305	!\304\211\203%@\211\306\307O\310\230\204\311\300\n\312#\210A\211\204\f\304+\207" [result bus name --dolist-tail-- nil dbus-list-names 0 1 ":" add-to-list append] 5 (#$ . 31773)])
#@174 Return the unique names registered at D-Bus BUS and queued for SERVICE.
The result is a list of strings, or `nil' when there are no
queued name owners service names at all.
(defalias 'dbus-list-queued-owners #[(bus service) "\300\301\302\217\207" [err (byte-code "\305	\n\306\f&\207" [bus dbus-service-dbus dbus-path-dbus dbus-interface-dbus service dbus-call-method "ListQueuedOwners"] 7) ((dbus-error (byte-code "\205\n\302	@	A\"\207" [dbus-debug err signal] 3)))] 3 (#$ . 32143)])
#@126 Return the name owner of SERVICE registered at D-Bus BUS.
The result is either a string, or `nil' if there is no name owner.
(defalias 'dbus-get-name-owner #[(bus service) "\300\301\302\217\207" [err (byte-code "\305	\n\306\f&\207" [bus dbus-service-dbus dbus-path-dbus dbus-interface-dbus service dbus-call-method "GetNameOwner"] 7) ((dbus-error (byte-code "\205\n\302	@	A\"\207" [dbus-debug err signal] 3)))] 3 (#$ . 32639)])
#@369 Check whether SERVICE is registered for D-Bus BUS.
TIMEOUT, a nonnegative integer, specifies the maximum number of
milliseconds `dbus-ping' must return.  The default value is 25,000.

Note, that this autoloads SERVICE if it is not running yet.  If
it shall be checked whether SERVICE is already running, one shall
apply

  (member service (dbus-list-known-names bus))
(defalias 'dbus-ping #[(bus service &optional timeout) "\300\301\302\217\207" [nil (byte-code "\305!\203\306	\n\f\307\310&\202\306	\n\f\307%?\207" [timeout bus service dbus-path-dbus dbus-interface-peer natnump dbus-call-method "Ping" :timeout] 8) ((dbus-error))] 3 (#$ . 33079)])
#@364 Return all interfaces and sub-nodes of SERVICE,
registered at object path PATH at bus BUS.

BUS is either a Lisp symbol, `: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.
(defalias 'dbus-introspect #[(bus service path) "\300\301\302\217\207" [err (byte-code "\304	\n\305\306\307&\207" [bus service path dbus-interface-introspectable dbus-call-method "Introspect" :timeout 1000] 8) ((dbus-error (byte-code "\205\n\302	@	A\"\207" [dbus-debug err signal] 3)))] 3 (#$ . 33744)])
#@238 Return the introspection data of SERVICE in D-Bus BUS at object path PATH.
The data are a parsed list.  The root object is a "node",
representing the object path PATH.  The root object can contain
"interface" and further "node" objects.
(defalias 'dbus-introspect-xml #[(bus service path) "\301\302\303\217\211@)\207" [node nil (byte-code "\304\305!rq\210\306\216\307	\n#c\210\310ed\"+\207" [#1=#:temp-buffer bus service path generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1# buffer-name kill-buffer] 2)) dbus-introspect xml-parse-region] 4) ((error))] 4 (#$ . 34423)])
#@147 Return the ATTRIBUTE value of D-Bus introspection OBJECT.
ATTRIBUTE must be a string according to the attribute names in
the D-Bus specification.
(defalias 'dbus-introspect-get-attribute #[(object attribute) "\302\303	!\"\207" [object attribute xml-get-attribute-or-nil intern] 4 (#$ . 35035)])
#@167 Return all node names of SERVICE in D-Bus BUS at object path PATH.
It returns a list of strings.  The node names stand for further
object paths of the D-Bus service.
(defalias 'dbus-introspect-get-node-names #[(bus service path) "\306	\n#\307\310\f\311\"\307\211\203*@\312\303\313
\314\"\315#\210A\211\204\307,\207" [bus service path result object elt dbus-introspect-xml nil xml-get-children node add-to-list dbus-introspect-get-attribute "name" append --dolist-tail--] 6 (#$ . 35338)])
#@141 Return all node names of SERVICE in D-Bus BUS at object path PATH.
It returns a list of strings, which are further object paths of SERVICE.
(defalias 'dbus-introspect-get-all-nodes #[(bus service path) "C\306\n#\307\211\203'
@\310\f\"\311	\312\n\f#\"
A\211\204\307	+\207" [path result bus service elt --dolist-tail-- dbus-introspect-get-node-names nil expand-file-name append dbus-introspect-get-all-nodes] 7 (#$ . 35851)])
#@368 Return all interface names of SERVICE in D-Bus BUS at object path PATH.
It returns a list of strings.

There will be always the default interface
"org.freedesktop.DBus.Introspectable".  Another default
interface is "org.freedesktop.DBus.Properties".  If present,
"interface" objects can also have "property" objects as
children, beside "method" and "signal" objects.
(defalias 'dbus-introspect-get-interface-names #[(bus service path) "\306	\n#\307\310\f\311\"\307\211\203*@\312\303\313
\314\"\315#\210A\211\204\307,\207" [bus service path result object elt dbus-introspect-xml nil xml-get-children interface add-to-list dbus-introspect-get-attribute "name" append --dolist-tail--] 6 (#$ . 36298)])
#@305 Return the INTERFACE of SERVICE in D-Bus BUS at object path PATH.
The return value is an XML object.  INTERFACE must be a string,
element of the list returned by `dbus-introspect-get-interface-names'.
The resulting "interface" object can contain "method", "signal",
"property" and "annotation" children.
(defalias 'dbus-introspect-get-interface #[(bus service path interface) "\305\306	\n#\304\"\211\203\f\307@\310\"\230\204A\211\204
@)\207" [bus service path elt interface xml-get-children dbus-introspect-xml dbus-introspect-get-attribute "name"] 6 (#$ . 37022)])
#@115 Return a list of strings of all method names of INTERFACE.
SERVICE is a service of D-Bus BUS at object path PATH.
(defalias 'dbus-introspect-get-method-names #[(bus service path interface) "\306	\n$\307\310
\311\"\307\211\203.@\312\304\313\314\"\315#\210A\211\204\307\f,\207" [bus service path interface result object dbus-introspect-get-interface nil xml-get-children method add-to-list dbus-introspect-get-attribute "name" append elt --dolist-tail--] 6 (#$ . 37606)])
#@293 Return method METHOD of interface INTERFACE as XML object.
It must be located at SERVICE in D-Bus BUS at object path PATH.
METHOD must be a string, element of the list returned by
`dbus-introspect-get-method-names'.  The resulting "method"
object can contain "arg" and "annotation" children.
(defalias 'dbus-introspect-get-method #[(bus service path interface method) "\306\307	\n$\305\"\211\203
\310\f@\311\"\230\204\fA\211\204\f@)\207" [bus service path interface elt method xml-get-children dbus-introspect-get-interface dbus-introspect-get-attribute "name"] 7 (#$ . 38106)])
#@115 Return a list of strings of all signal names of INTERFACE.
SERVICE is a service of D-Bus BUS at object path PATH.
(defalias 'dbus-introspect-get-signal-names #[(bus service path interface) "\306	\n$\307\310
\311\"\307\211\203.@\312\304\313\314\"\315#\210A\211\204\307\f,\207" [bus service path interface result object dbus-introspect-get-interface nil xml-get-children signal add-to-list dbus-introspect-get-attribute "name" append elt --dolist-tail--] 6 (#$ . 38702)])
#@293 Return signal SIGNAL of interface INTERFACE as XML object.
It must be located at SERVICE in D-Bus BUS at object path PATH.
SIGNAL must be a string, element of the list returned by
`dbus-introspect-get-signal-names'.  The resulting "signal"
object can contain "arg" and "annotation" children.
(defalias 'dbus-introspect-get-signal #[(bus service path interface signal) "\306\307	\n$\305\"\211\203
\310\f@\311\"\230\204\fA\211\204\f@)\207" [bus service path interface elt signal xml-get-children dbus-introspect-get-interface dbus-introspect-get-attribute "name"] 7 (#$ . 39202)])
#@117 Return a list of strings of all property names of INTERFACE.
SERVICE is a service of D-Bus BUS at object path PATH.
(defalias 'dbus-introspect-get-property-names #[(bus service path interface) "\306	\n$\307\310
\311\"\307\211\203.@\312\304\313\314\"\315#\210A\211\204\307\f,\207" [bus service path interface result object dbus-introspect-get-interface nil xml-get-children property add-to-list dbus-introspect-get-attribute "name" append elt --dolist-tail--] 6 (#$ . 39798)])
#@287 This function returns PROPERTY of INTERFACE as XML object.
It must be located at SERVICE in D-Bus BUS at object path PATH.
PROPERTY must be a string, element of the list returned by
`dbus-introspect-get-property-names'.  The resulting PROPERTY
object can contain "annotation" children.
(defalias 'dbus-introspect-get-property #[(bus service path interface property) "\306\307	\n$\305\"\211\203
\310\f@\311\"\230\204\fA\211\204\f@)\207" [bus service path interface elt property xml-get-children dbus-introspect-get-interface dbus-introspect-get-attribute "name"] 7 (#$ . 40304)])
#@210 Return all annotation names as list of strings.
If NAME is `nil', the annotations are children of INTERFACE,
otherwise NAME must be a "method", "signal", or "property"
object, where the annotations belong to.
(defalias 'dbus-introspect-get-annotation-names #[(bus service path interface &optional name) "\203\"\306	\n\f%\206(\307	\n\f%\206(\310	\n\f%\202(\311	\n\f$\312\313\314\"\312\211\203R@\315\305\316\317\"\320#\210A\211\204:\312
,\207" [name bus service path interface result dbus-introspect-get-method dbus-introspect-get-signal dbus-introspect-get-property dbus-introspect-get-interface nil xml-get-children annotation add-to-list dbus-introspect-get-attribute "name" append object elt --dolist-tail--] 7 (#$ . 40900)])
#@200 Return ANNOTATION as XML object.
If NAME is `nil', ANNOTATION is a child of INTERFACE, otherwise
NAME must be the name of a "method", "signal", or
"property" object, where the ANNOTATION belongs to.
(defalias 'dbus-introspect-get-annotation #[(bus service path interface name annotation) "\306\203#\307	\n\f%\206)\310	\n\f%\206)\311	\n\f%\202)\312	\n\f$\313\"\211\203B\314
@\315\"\230\204B
A\211\2040
@)\207" [name bus service path interface elt xml-get-children dbus-introspect-get-method dbus-introspect-get-signal dbus-introspect-get-property dbus-introspect-get-interface annotation dbus-introspect-get-attribute "name"] 8 (#$ . 41670)])
#@216 Return a list of all argument names as list of strings.
NAME must be a "method" or "signal" object.

Argument names are optional, the function can return `nil'
therefore, even if the method or signal has arguments.
(defalias 'dbus-introspect-get-argument-names #[(bus service path interface name) "\306	\n\f%\206\307	\n\f%\310\311\312\"\310\211\203;@\313\305\314\315\"\316#\210A\211\204#\310
,\207" [bus service path interface name result dbus-introspect-get-method dbus-introspect-get-signal nil xml-get-children arg add-to-list dbus-introspect-get-attribute "name" append object elt --dolist-tail--] 7 (#$ . 42338)])
#@173 Return argument ARG as XML object.
NAME must be a "method" or "signal" object.  ARG must be a string,
element of the list returned by `dbus-introspect-get-argument-names'.
(defalias 'dbus-introspect-get-argument #[(bus service path interface name arg) "\306\307	\n\f%\206\310	\n\f%\311\"\211\203+	\312
@\313\"\230\204+
A\211\204
@)\207" [bus service path interface name elt xml-get-children dbus-introspect-get-method dbus-introspect-get-signal arg dbus-introspect-get-attribute "name"] 8 (#$ . 42993)])
#@256 Return signature of a `method' or `signal', represented by NAME, as string.
If NAME is a `method', DIRECTION can be either "in" or "out".
If DIRECTION is `nil', "in" is assumed.

If NAME is a `signal', and DIRECTION is non-`nil', DIRECTION must
be "out".
(defalias 'dbus-introspect-get-signature #[(bus service path interface name &optional direction) "\306	\n\f%\206\307	\n\f%\310
\311\"\312\230\203$;\204$\313\310
\311\"\314\230\2030\315\316\317\320	\n\f%\321#)\207" [bus service path interface name object dbus-introspect-get-method dbus-introspect-get-signal dbus-introspect-get-attribute "name" "method" "in" "signal" nil mapconcat #[(x) "\306	\n\f
&\f;\203\f\307\310\"\230\203$\307\311\"\202%\312)\207" [bus service path interface name x dbus-introspect-get-argument dbus-introspect-get-attribute "direction" "type" #1="" arg direction] 7] dbus-introspect-get-argument-names #1# direction] 8 (#$ . 43517)])
#@162 Return the value of PROPERTY of INTERFACE.
It will be checked at BUS, SERVICE, PATH.  The result can be any
valid D-Bus value, or `nil' if there is no PROPERTY.
(defalias 'dbus-get-property #[(bus service path interface property) "\300\301\302\217\207" [err (byte-code "\306	\n\307\310\311\f
&	@\207" [bus service path dbus-interface-properties interface property dbus-call-method "Get" :timeout 500] 10) ((dbus-error (byte-code "\205\n\302	@	A\"\207" [dbus-debug err signal] 3)))] 3 (#$ . 44470)])
#@181 Set value of PROPERTY of INTERFACE to VALUE.
It will be checked at BUS, SERVICE, PATH.  When the value has
been set successful, the result is VALUE.  Otherwise, `nil' is
returned.
(defalias 'dbus-set-property #[(bus service path interface property value) "\300\301\302\217\207" [err (byte-code "\306	\n\307\310\311\f
\312\fD&\n\210\313	\n\f
%\207" [bus service path dbus-interface-properties interface property dbus-call-method "Set" :timeout 500 :variant dbus-get-property value] 12) ((dbus-error (byte-code "\205\n\302	@	A\"\207" [dbus-debug err signal] 3)))] 3 (#$ . 44980)])
#@207 Return all properties of INTERFACE at BUS, SERVICE, PATH.
The result is a list of entries.  Every entry is a cons of the
name of the property, and its value.  If there are no properties,
`nil' is returned.
(defalias 'dbus-get-all-properties #[(bus service path interface) "\300\301\302\217\207" [err (byte-code "\306\307	\n\f\310\311\312
&\306
\211\2032@
\313\300
@
A@@B\314#\210A\211\204\306
+\207" [result bus service path dbus-interface-properties interface nil dbus-call-method "GetAll" :timeout 500 add-to-list append dict --dolist-tail--] 10) ((dbus-error (byte-code "\205\n\302	@	A\"\207" [dbus-debug err signal] 3)))] 3 (#$ . 45572)])
#@1605 Register property PROPERTY on the D-Bus BUS.

BUS is either a Lisp symbol, `:system' or `:session', or a string
denoting the bus address.

SERVICE is the D-Bus service name of the D-Bus.  It must be a
known name (See discussion of DONT-REGISTER-SERVICE below).

PATH is the D-Bus object path SERVICE is registered (See
discussion of DONT-REGISTER-SERVICE below).  INTERFACE is the
name of the interface used at PATH, PROPERTY is the name of the
property of INTERFACE.  ACCESS indicates, whether the property
can be changed by other services via D-Bus.  It must be either
the symbol `:read' or `:readwrite'.  VALUE is the initial value
of the property, it can be of any valid type (see
`dbus-call-method' for details).

If PROPERTY already exists on PATH, it will be overwritten.  For
properties with access type `:read' this is the only way to
change their values.  Properties with access type `:readwrite'
can be changed by `dbus-set-property'.

The interface "org.freedesktop.DBus.Properties" is added to
PATH, including a default handler for the "Get", "GetAll" and
"Set" methods of this interface.  When EMITS-SIGNAL is non-nil,
the signal "PropertiesChanged" is sent when the property is
changed by `dbus-set-property'.

When DONT-REGISTER-SERVICE is non-nil, the known name SERVICE is
not registered.  This means that other D-Bus clients have no way
of noticing the newly registered property.  When interfaces are
constructed incrementally by adding single methods or properties
at a time, DONT-REGISTER-SERVICE can be used to prevent other
clients from discovering the still incomplete interface.
(defalias 'dbus-register-property #[(bus service path interface property access value &optional emits-signal dont-register-service) "\306\235\204
\307\310\311D\"\210\312	\n\f\313\314\315&\210\312	\n\f\316\314\315&\210\312	\n\f\317\314\315&\210
\204?\n\320	!\235\204?\321	\n\"\210\203W\322	\n\f\323\324\325DEC\326&\210\327	F\330\n\203l\331D\202nCBFC \332 !#\210 \n*DD\207" [access bus service path dbus-interface-properties dont-register-service (:read :readwrite) signal wrong-type-argument "Access type invalid" dbus-register-method "Get" dbus-property-handler dont-register "GetAll" "Set" dbus-list-names dbus-register-service dbus-send-signal "PropertiesChanged" :dict-entry :variant (:array) :property nil :emits-signal puthash emits-signal property value interface val key dbus-registered-objects-table] 10 (#$ . 46245)])
#@145 Default handler for the "org.freedesktop.DBus.Properties" interface.
It will be registered for all objects created by `dbus-register-property'.
(defalias 'dbus-property-handler #[(&rest args) "\306!\307!\310!\311!	@	\211A@)%&'
\312\230\203K\313\314'\fF(\")%\315)@8\230\205G\316\317)@!\211@A)DC)\202\346
\320\230\203\316	\211AA)\211@@)*\313\314'\fF(\")\317)@!@\211+:\204\200\321\322\323%E\"\210\324+@\235\204\221\321\322\325%E\"\210\326\314'\fF\327\330)@!+@*BC\"C(#\210\331+@\235\203\311\332'&%,\333\334\316*DEC\335&\210+\336\202\346
\337\230\205\346\340-\341\342(\"\210\343-\206\344\344)D.\207" [last-input-event args x property interface method dbus-event-bus-name dbus-event-service-name dbus-event-path-name dbus-event-member-name "Get" gethash :property 2 :variant last "Set" signal dbus-error "Property not registered at path" :readwrite "Property not writable at path" puthash append butlast :emits-signal dbus-send-signal "PropertiesChanged" :dict-entry (:array) :ignore "GetAll" nil maphash #[(key val) "\306!\307	\nE\232\2053\310\f@8\230\2053\311\312\f@!@!?\2053\313\314\315\312!@\316\312\f@!\211@A)DE\"\207" [key bus interface path val x butlast :property 2 functionp last add-to-list result :dict-entry :variant] 8] :array (:signature "{sv}") path service bus dbus-registered-objects-table entry value object dbus-interface-properties result] 11 (#$ . 48725)])
#@1471 Return all objects at BUS, SERVICE, PATH, and the children of PATH.
The result is a list of objects.  Every object is a cons of an
existing path name, and the list of available interface objects.
An interface object is another cons, which car is the interface
name, and the cdr is the list of properties as returned by
`dbus-get-all-properties' for that path and interface.  Example:

(dbus-get-all-managed-objects :session "org.gnome.SettingsDaemon" "/")

  => (("/org/gnome/SettingsDaemon/MediaKeys"
       ("org.gnome.SettingsDaemon.MediaKeys")
       ("org.freedesktop.DBus.Peer")
       ("org.freedesktop.DBus.Introspectable")
       ("org.freedesktop.DBus.Properties")
       ("org.freedesktop.DBus.ObjectManager"))
      ("/org/gnome/SettingsDaemon/Power"
       ("org.gnome.SettingsDaemon.Power.Keyboard")
       ("org.gnome.SettingsDaemon.Power.Screen")
       ("org.gnome.SettingsDaemon.Power"
        ("Icon" . ". GThemedIcon battery-full-charged-symbolic ")
        ("Tooltip" . "Laptop battery is charged"))
       ("org.freedesktop.DBus.Peer")
       ("org.freedesktop.DBus.Introspectable")
       ("org.freedesktop.DBus.Properties")
       ("org.freedesktop.DBus.ObjectManager"))
      ...)

If possible, "org.freedesktop.DBus.ObjectManager.GetManagedObjects"
is used for retrieving the information.  Otherwise, the information
is collected via "org.freedesktop.DBus.Introspectable.Introspect"
and "org.freedesktop.DBus.Properties.GetAll", which is slow.
(defalias 'dbus-get-all-managed-objects #[(bus service path) "\306\307\310\217\211\203z\311\211\203s\n@\211A\311\211\203k\n@\211\311\211\203c\n@\211\211A@)\203X\f\211A@)\311\211\203T\n@\211\211A@@\241\210\nA\211\204B*\202\\\f\311\241\210\nA\211\204(*\nA\211\204*\nA\211\204\311*\202\337\312#\311\211\203\332\n@\311
\313#\311\211\203\275\n@\314\315\316$B\"\210\nA\211\204\241\311
\210*
\203\322\314\300
B\"\210)\nA\211\204\212\311*)\207" [result entry --dolist-tail-- entry1 entry2 x err (byte-code "\304	\n\305\306\307&\207" [bus service path dbus-interface-objectmanager dbus-call-method "GetManagedObjects" :timeout 1000] 8) ((dbus-error (byte-code "\205\n\302	@	A\"\207" [dbus-debug err signal] 3))) nil dbus-introspect-get-all-nodes dbus-introspect-get-interface-names add-to-list result1 dbus-get-all-properties entry3 bus service path object interface] 9 (#$ . 50173)])
#@146 Default handler for the "org.freedesktop.DBus.ObjectManager" interface.
It will be registered for all objects created by `dbus-register-method'.
(defalias 'dbus-managed-objects-handler #[nil "\306!\307!\310!\311\211\312\313\"\210\312\314\"\210\315\316\317\f\"\206'\320.D\207" [last-input-event bus service path result interfaces dbus-event-bus-name dbus-event-service-name dbus-event-path-name nil maphash #[(key val) "\303\304\"\305	D\232\205\304\n\2428?\205\306\307\3048\"\207" [key bus val butlast 2 :method add-to-list interfaces] 4] #[(key val) "\306\2428\206\307\306	8\310	\306\"\311\fD\232\205{\312
\"\205{\306	8B\313\211\205z@\314\"\204?\315\316C\"\210\314\n\314\"A\"\204p\314\"\317\n\317\310\320\"\321\322F\"\322\n!)BC\314\"A\"\241\210A\211\204-\313**\207" [val key interface object bus path 2 "" butlast :method string-prefix-p nil assoc add-to-list result append 4 "GetAll" dbus-property-handler interfaces --dolist-tail-- last-input-event dbus-interface-properties] 10] :array mapcar #[(x) "\301\302@\303\304\305A\"BF\207" [x :dict-entry :object-path :array mapcar #[(y) "\301B\207" [y :dict-entry] 2]] 7] (:signature "{oa{sa{sv}}}") dbus-registered-objects-table] 4 (#$ . 52619)])
(byte-code "\300\301!\203\302\303\304\217\210\302\305\306\217\210\307\310!\207" [featurep dbusbind err (dbus-init-bus :system) ((dbus-error (byte-code "\203\302	@	A\"\210\302\207" [dbus-debug err signal] 3))) (dbus-init-bus :session) ((dbus-error (byte-code "\203\302	@	A\"\210\302\207" [dbus-debug err signal] 3))) provide dbus] 3)

MMCT - 2023