%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/share/emacs/27.2/lisp/net/
Upload File :
Create Path :
Current File : //usr/local/share/emacs/27.2/lisp/net/dbus.elc

;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; 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.

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


(byte-code "\300\301!\204\302\301\303\"\210\300\304!\204\305\306!\210\307\310!\207" [boundp dbus-error define-error "D-Bus error" dbus-debug (lambda (#1=#:def-tmp-var) (defvar dbus-debug #1#)) nil require xml] 3)
#@46 The bus name used to talk to the bus itself.
(defconst dbus-service-dbus "org.freedesktop.DBus" (#$ . 625))
#@49 The object path used to talk to the bus itself.
(defconst dbus-path-dbus "/org/freedesktop/DBus" (#$ . 739))
#@62 The object path used in local/in-process-generated messages.
(defconst dbus-path-local (concat dbus-path-dbus "/Local") (#$ . 854))
#@60 The interface exported by the service `dbus-service-dbus'.
(defconst dbus-interface-dbus "org.freedesktop.DBus" (#$ . 992))
#@126 The interface for peer objects.
See URL `https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-peer'.
(defconst dbus-interface-peer (concat dbus-interface-dbus ".Peer") (#$ . 1123))
#@155 The interface supported by introspectable objects.
See URL `https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-introspectable'.
(defconst dbus-interface-introspectable (concat dbus-interface-dbus ".Introspectable") (#$ . 1335))
#@136 The interface for property objects.
See URL `https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties'.
(defconst dbus-interface-properties (concat dbus-interface-dbus ".Properties") (#$ . 1596))
#@133 The object manager interface.
See URL `https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager'.
(defconst dbus-interface-objectmanager (concat dbus-interface-dbus ".ObjectManager") (#$ . 1830))
#@77 An interface whose methods can only be invoked by the local implementation.
(defconst dbus-interface-local (concat dbus-interface-dbus ".Local") (#$ . 2066))
#@39 The well known service name of Emacs.
(defconst dbus-service-emacs "org.gnu.Emacs" (#$ . 2230))
#@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" (#$ . 2333))
#@40 The interface namespace used by Emacs.
(defconst dbus-interface-emacs "org.gnu.Emacs" (#$ . 2536))
#@149 Execute BODY; signal D-Bus error when `dbus-debug' is non-nil.
Otherwise, return result of last form in BODY, or all other errors.

(fn &rest BODY)
(defalias 'dbus-ignore-errors '(macro . #[128 "\300\301\302B\303BBB\207" [condition-case err progn ((dbus-error (when dbus-debug (signal (car err) (cdr err)))))] 5 (#$ . 2642)]))
(byte-code "\300\301\302\303#\304\301\305\306#\210\307\310\311\"\210\312\313\314\315#\210\316\211\2038\211@\313N\2031\314N\2041\304\314\313N#\210A\266\202\202\210\317\313\314\320#\207" [function-put dbus-ignore-errors lisp-indent-function 0 put 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"] 8)
#@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 '(dbus-notice-synchronous-call-errors) (#$ . 3456))
#@520 Hash table for temporarily 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.

The value of an entry is a cons (STATE . RESULT).  STATE can be
either `:pending' (we are still waiting for the result),
`:complete' (the result is available) or `:error' (the reply
message was an error message).
(defvar dbus-return-values-table (make-hash-table :test 'equal) (#$ . 3741))
#@212 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'.

(fn &rest ARGS)
(defalias 'dbus-call-method-handler #[128 "\302\303!\304!E\305	\"\211:\205$\211\306\240\210\211G\307U\203\"@\202#\241\207" [last-input-event dbus-return-values-table :serial dbus-event-bus-name dbus-event-serial-number gethash :complete 1] 6 (#$ . 4344)])
#@69 Detect errors resulting from pending synchronous calls.

(fn EV ER)
(defalias 'dbus-notice-synchronous-call-errors #[514 "\301\302!\303!E\304\"\211:\205\211\305\240\210\211\241\207" [dbus-return-values-table :serial dbus-event-bus-name dbus-event-serial-number gethash :error] 6 (#$ . 4826)])
#@2379 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 before 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        => natural number
  DBUS_TYPE_UINT16      => natural number
  DBUS_TYPE_INT16       => integer
  DBUS_TYPE_UINT32      => natural number
  DBUS_TYPE_UNIX_FD     => natural number
  DBUS_TYPE_INT32       => integer
  DBUS_TYPE_UINT64      => natural number
  DBUS_TYPE_INT64       => integer
  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"

(fn BUS SERVICE PATH INTERFACE METHOD &rest ARGS)
(defalias 'dbus-call-method #[1413 "\305\306!\204\f\307\310\311C\"\210\312>\204;\204\307\313\314D\"\210;\204,\307\313\315D\"\210;\2049\307\313\315D\"\210;\204E\307\313\315D\"\210;\204Q\307\313\315D\"\210\316\317\"\320\321\322\n\n\n\n\n\323&	\324\325B\326	#\210\327\330\331\332\333!\334\"\335$\216\3362\353\337\203\215\340\245\202\216\341\325\342#\211\nB\327\330\343\332\333!\344\"\345$\216@\324=\205\347\346\325\347\325\211#*\211\203\330\3501\302\351!0\202\306\210\202\322\203\322\352	\"\262\202\330\325B\244\353W\203\343\354_\262\210\202\241*\2620\211\336=\203\367\307\310\355C\"\210\210\211@\356=\203\307A@AA\"\210\211A)\207" [dbus-message-type-method-call dbus-return-values-table with-timeout-timers unread-command-events inhibit-redisplay featurep dbusbind signal dbus-error "Emacs not compiled with dbus support" (:system :session) wrong-type-argument keywordp stringp plist-get :timeout 0.001 apply dbus-message-internal dbus-call-method-handler :pending nil puthash make-byte-code 0 "\302\300	\"\207" vconcat vector [dbus-return-values-table remhash] 3 #1=#:timeout run-with-timer 1000.0 25 #[0 "\300\301\211\"\207" [throw #1#] 3] "\301\300!\207" [cancel-timer] 2 t read-event (error) dbus-check-event gethash 1 1.05 "call timed out" :error] 18 (#$ . 5134)])
(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)
#@1673 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 before 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 arrives,
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")

  -| i686

  => (:serial :system 2)

(fn BUS SERVICE PATH INTERFACE METHOD HANDLER &rest ARGS)
(defalias 'dbus-call-method-asynchronously #[1670 "\301\302!\204\f\303\304\305C\"\210\306>\204!;\204!\303\307\310	D\"\210;\204.\303\307\311D\"\210;\204;\303\307\311D\"\210;\204H\303\307\311D\"\210;\204T\303\307\311D\"\210\203e\312!\204e\303\307\312D\"\210\313\314							&	\207" [dbus-message-type-method-call featurep dbusbind signal dbus-error "Emacs not compiled with dbus support" (:system :session) wrong-type-argument keywordp stringp functionp apply dbus-message-internal] 17 (#$ . 8994)])
#@1101 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")

(fn BUS SERVICE PATH INTERFACE SIGNAL &rest ARGS)
(defalias 'dbus-send-signal #[1413 "\301\302!\204\f\303\304\305C\"\210\306>\204;\204\303\307\310D\"\210\2030;\2040\303\307\311D\"\210;\204=\303\307\311D\"\210;\204I\303\307\311D\"\210;\204U\303\307\311D\"\210\312\313&\207" [dbus-message-type-signal featurep dbusbind signal dbus-error "Emacs not compiled with dbus support" (:system :session) wrong-type-argument keywordp stringp apply dbus-message-internal] 15 (#$ . 11206)])
#@149 Return for message SERIAL on the D-Bus BUS.
This is an internal function, it shall not be used outside dbus.el.

(fn BUS SERVICE SERIAL &rest ARGS)
(defalias 'dbus-method-return-internal #[899 "\301\302!\204\f\303\304\305C\"\210\306>\204;\204\303\307\310D\"\210;\204+\303\307\311D\"\210\312!\2048\303\307\312D\"\210\313\314&\207" [dbus-message-type-method-return featurep dbusbind signal dbus-error "Emacs not compiled with dbus support" (:system :session) wrong-type-argument keywordp stringp natnump apply dbus-message-internal] 11 (#$ . 12779)])
#@163 Return error message for message SERIAL on the D-Bus BUS.
This is an internal function, it shall not be used outside dbus.el.

(fn BUS SERVICE SERIAL &rest ARGS)
(defalias 'dbus-method-error-internal #[899 "\301\302!\204\f\303\304\305C\"\210\306>\204;\204\303\307\310D\"\210;\204+\303\307\311D\"\210\312!\2048\303\307\312D\"\210\313\314&\207" [dbus-message-type-error featurep dbusbind signal dbus-error "Emacs not compiled with dbus support" (:system :session) wrong-type-argument keywordp stringp natnump apply dbus-message-internal] 11 (#$ . 13360)])
#@192 Return 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 #[0 "\301C\302\303\304\305\306\307!\310\"\311\312%\"\210\211\242\207" [dbus-registered-objects-table nil maphash make-byte-code 514 "\300B\300\242B\240\207" vconcat vector [] 5 "\n\n(fn KEY VALUE)"] 8 (#$ . 13946)])
#@452 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.

(fn BUS VARIABLE VALUE)
(defalias 'dbus-setenv #[771 "\303	\n\304\305\306		ED&\207" [dbus-service-dbus dbus-path-dbus dbus-interface-dbus dbus-call-method "UpdateActivationEnvironment" :array :dict-entry] 13 (#$ . 14397)])
#@999 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.

(fn BUS SERVICE &rest FLAGS)
(defalias 'dbus-register-service #[642 "\305\306\307\310\311&\210\305\306	\312\313\311&\210\314\306\211\203A\211@\315\267\2022\316\2027\317\2027\320\2027\321\322C\"\\\262A\266\202\202\210\323\n\f\324	&\262\211\325\267\202f\326\202m\327\202m\330\202m\331\202m\321\332\333D\"\207" [dbus-interface-peer dbus-interface-objectmanager dbus-service-dbus dbus-path-dbus dbus-interface-dbus dbus-register-method nil "Ping" dbus-peer-handler dont-register "GetManagedObjects" dbus-managed-objects-handler 0 #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (:allow-replacement 38 :replace-existing 42 :do-not-queue 46)) 1 2 4 signal wrong-type-argument dbus-call-method "RequestName" #s(hash-table size 4 test eql rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (1 86 2 90 3 94 4 98)) :primary-owner :in-queue :exists :already-owner dbus-error "Could not register service"] 13 (#$ . 15059)])
#@526 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': We successfully released the service.

`: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.

(fn BUS SERVICE)
(defalias 'dbus-unregister-service #[514 "\304\305\306\307\310\311\"\312\"\313\314%\"\210\315	\n\316&\211\317\267\202/\320\2025\321\2025\322\2025\323\324\325D\"\207" [dbus-registered-objects-table dbus-service-dbus dbus-path-dbus dbus-interface-dbus maphash make-byte-code 514 "@\303=?\205F\211\211\205D\211@\30418\300A@\232\2054\301A@\230\2054\305\306\"\n#?\2054\307\n\"0\202<\210\202=\210A\266\202\202	\262\207" vconcat vector [dbus-registered-objects-table :serial (error) puthash delete remhash] 9 "\n\n(fn KEY VALUE)" dbus-call-method "ReleaseName" #s(hash-table size 3 test eql rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (1 35 2 39 3 43)) :released :non-existent :not-owner signal dbus-error "Could not unregister service"] 10 (#$ . 17023)])
#@2042 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 at.
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.
Their 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 those signals, whose first
argument names a service or interface within the 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.

(fn BUS SERVICE PATH INTERFACE SIGNAL HANDLER &rest ARGS)
(defalias 'dbus-register-signal #[1670 "\305\306\307\211\211\211;\203.G\305U\204.\230\204.\310\311
\"\204.\312

\"\262\2022\262\205<\313\314\"\205F\313\315
\"\205P\313\316
\"\205Z\313\317\"\260\262@;\204k@\204\241\211\203\235\211@\211;\203\206\313\320\n#P\262\202\221\211\203\221\321\322\323D\"\210T\262A\266\202\202m\210\202\\\203\\@\262\324!\203\310\325\326!\"\203\327\330\326!\"\262A\262@\262\331!\332X\203\335;\204\346\321\322\323E\"\210\313\333\327\334\326	!\"\335\230\203\372\335\202\373\336$\202Q\324!\203@\310\337\326!\"\203@A\262@\262;\204(\321\322\323E\"\210\313\340\327\334\326!\"\335\230\203:\341\202;\342#\202Q\343=\203J\344\202Q\321\322\323D\"P\262A\262\202\241\3451o\346
	\n\347\n&0\202\237\310\350\"\204\200\321@A\"\202\235\203\212\351\352\"\210\353\344\336#\262\346	\n\347&\262\210\203\252\351\354\"\210\355
F\262\f\f\n\257\262\356\f\"\262\235\204\325\357B\f#\210\f\f\nED\207" [dbus-service-dbus dbus-path-dbus dbus-interface-dbus dbus-debug dbus-registered-objects-table 0 "type='signal'" nil 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 string-to-number 63 ",arg%s%s='%s'" 1 "path" "" "^:\\(arg\\|path\\)-namespace$" ",%s='%s'" "path_namespace" "arg0namespace" :eavesdrop ",eavesdrop='true'" (dbus-error) dbus-call-method "AddMatch" "eavesdrop" message "Removing eavesdrop from rule %s" replace-regexp-in-string "Matching rule \"%s\" created" :signal gethash puthash] 21 (#$ . 18351)])
#@1224 Register 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 at (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.
If HANDLER returns 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.

(fn BUS SERVICE PATH INTERFACE METHOD HANDLER &optional DONT-REGISTER-SERVICE)
(defalias 'dbus-register-method #[1798 "\211\204\301!\235\204\302\"\210\303F\304F\305\"\235\2043\306B#\210		ED\207" [dbus-registered-objects-table dbus-list-names dbus-register-service :method nil gethash puthash] 14 (#$ . 22189)])
#@387 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.

(fn OBJECT)
(defalias 'dbus-unregister-object #[257 "\211:\203\211@\203\211A:\204\304\305\306D\"\210\211@\211@A@A@\211@\307\"\310\211\203q\211@\311AAG	GZ\"\232\203j\312\262\313	\314\"#\204U\315	\"\210\316=\203j\317	\n\320\3218&\210A\266\202\202)\210\203\235\322>\203\235\3232\225\324\325\326\327\330\331\n	\"\332\"\333\334%\"\210\3100\204\235\335\"\210\207" [dbus-registered-objects-table dbus-service-dbus dbus-path-dbus dbus-interface-dbus signal wrong-type-argument D-Bus gethash nil butlast t puthash delete remhash :signal dbus-call-method "RemoveMatch" 4 (:method :property) :found maphash make-byte-code 514 "\211\211\2055\211@\3021)\300A@\232\205%\301A@\230\205%\3038\205%\304\305\306\"0\202-\210\202.\210A\266\202\202\207" vconcat vector [(error) 2 throw :found t] 7 "\n\n(fn K V)" dbus-unregister-service] 18 (#$ . 23685)])
#@100 Transform STRING to list (:array :byte C1 :byte C2 ...).
STRING shall be UTF-8 coded.

(fn STRING)
(defalias 'dbus-string-to-byte-array #[257 "\211G\300U\203	\301\207\302\303\302\"\262\211\203&\211@\303\304D\"\262A\266\202\202\303\305\"\262\207" [0 (:array :signature "y") nil append :byte (:array)] 8 (#$ . 24962)])
#@267 Transform BYTE-ARRAY into UTF-8 coded string.
BYTE-ARRAY must be a list of structure (c1 c2 ...), or a byte
array as produced by `dbus-string-to-byte-array'.  The resulting
string is unibyte encoded, unless MULTIBYTE is non-nil.

(fn BYTE-ARRAY &optional MULTIBYTE)
(defalias 'dbus-byte-array-to-string #[513 "\300\203	\301\202\n\302\303\232?\2052\304\211\203-\211@\305!\203&\306C\"\262A\266\202\202\262\262\"\207" [apply string unibyte-string (:array :signature "y") nil characterp append] 10 (#$ . 25299)])
#@650 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'.

(fn STRING)
(defalias 'dbus-escape-as-identifier #[257 "\211G\300U\203	\301\207\302\303\304#\207" [0 "_" replace-regexp-in-string "^[0-9]\\|[^A-Za-z0-9]" #[257 "\300\301\302H\"\207" [format "_%2x" 0] 5 "\n\n(fn X)"]] 5 (#$ . 25833)])
#@150 Retrieve the original string from the encoded STRING as unibyte string.
STRING must have been encoded with `dbus-escape-as-identifier'.

(fn STRING)
(defalias 'dbus-unescape-from-identifier #[257 "\211\300\230\203\301\207\302\303\304#\207" ["_" "" replace-regexp-in-string "_.." #[257 "\300\301\302\303\"\304\"!\207" [byte-to-string string-to-number substring 1 16] 6 "\n\n(fn X)"]] 5 (#$ . 26714)])
#@873 Check 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 signals a `dbus-error' if the event is not well
formed.

(fn EVENT)
(defalias 'dbus-check-event #[257 "\203	\304\305\"\210\211<\205\243\211@\306=\205\243\211A@9\204#\211A@;\205\243\307\3108!\205\243	\3108W\205\243\307\3118!\205\243\n\3108U\204Y\3108U\204Y\3128;\204Y\3128?\205\243\n\3108U\204p\3108U\204p\3138;\205\243\n\3108U\204\207\3108U\204\207\3148;\205\243\n\3108U\204\236\3108U\204\236\3158;\205\243\316\3178!?\205\255\320\321\322D\"\207" [dbus-debug 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"] 5 (#$ . 27125)])
#@232 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.

(fn EVENT)
(defalias 'dbus-handle-event #[257 "\3031n\304\305!\210\3068U\203\307\310\311\233\"\210\312\3138\311\233\"\262	\3068U\205j\3141^\211\315=\203B\316A@\3178\3208#\202Z\312\316A@\3178\3208:\203W\202YC%0\202j\n\205h\307@A\"\262\2620\207	\3068U\203\231\3211\214\322A@\3178\3208A@$0\202\230\n\205\226\307@A\"\262\210\323\324#\210\n\205\251\307@A\"\207" [dbus-message-type-error dbus-message-type-method-call dbus-debug (dbus-error) nil dbus-check-event 2 signal dbus-error 9 apply 8 (dbus-error) :ignore dbus-method-return-internal 4 3 (dbus-error) dbus-method-error-internal run-hook-with-args dbus-event-error-functions] 8 (#$ . 28651) "e"])
#@278 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 signals a `dbus-error' if the
event is not well formed.

(fn EVENT)
(defalias 'dbus-event-bus-name #[257 "\300!\210\211A@\207" [dbus-check-event] 3 (#$ . 29576)])
#@217 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 signals a `dbus-error' if the
event is not well formed.

(fn EVENT)
(defalias 'dbus-event-message-type #[257 "\300!\210\3018\207" [dbus-check-event 2] 3 (#$ . 29956)])
#@279 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 signals a `dbus-error' if the
event is not well formed.

(fn EVENT)
(defalias 'dbus-event-serial-number #[257 "\300!\210\3018\207" [dbus-check-event 3] 3 (#$ . 30281)])
#@218 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 signals a `dbus-error' if the event is not well
formed.

(fn EVENT)
(defalias 'dbus-event-service-name #[257 "\300!\210\3018\207" [dbus-check-event 4] 3 (#$ . 30669)])
#@225 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 signals a `dbus-error' if the event is not well
formed.

(fn EVENT)
(defalias 'dbus-event-path-name #[257 "\300!\210\3018\207" [dbus-check-event 5] 3 (#$ . 30995)])
#@228 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 signals a `dbus-error' if the event is not well
formed.

(fn EVENT)
(defalias 'dbus-event-interface-name #[257 "\300!\210\3018\207" [dbus-check-event 6] 3 (#$ . 31325)])
#@252 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 signals a `dbus-error' if the event is not well formed.

(fn EVENT)
(defalias 'dbus-event-member-name #[257 "\300!\210\3018\207" [dbus-check-event 7] 3 (#$ . 31663)])
#@232 Return a list of the D-Bus service names which can be activated.
BUS defaults to `:system' when nil or omitted.  The result is a
list of strings, which is nil when there are no activatable
service names at all.

(fn &optional BUS)
(defalias 'dbus-list-activatable-names #[256 "\3041\305\206\n\306	\n\307%0\207\205\310@A\"\207" [dbus-service-dbus dbus-path-dbus dbus-interface-dbus dbus-debug (dbus-error) dbus-call-method :system "ListActivatableNames" signal] 7 (#$ . 32022)])
#@273 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.

(fn BUS)
(defalias 'dbus-list-names #[257 "\3041
\305	\n\306%0\207\205\307@A\"\207" [dbus-service-dbus dbus-path-dbus dbus-interface-dbus dbus-debug (dbus-error) dbus-call-method "ListNames" signal] 7 (#$ . 32517)])
#@131 Retrieve all services which correspond to a known name in BUS.
A service has a known name if it doesn't start with ":".

(fn BUS)
(defalias 'dbus-list-known-names #[257 "\300\301!\211\203 \211@\302\303\304#\305\230\204\211B\262A\266\202\202\237\262\207" [nil dbus-list-names substring 0 1 ":"] 8 (#$ . 33011)])
#@189 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 owner service names at all.

(fn BUS SERVICE)
(defalias 'dbus-list-queued-owners #[514 "\3041\305	\n\306&0\207\205\307@A\"\207" [dbus-service-dbus dbus-path-dbus dbus-interface-dbus dbus-debug (dbus-error) dbus-call-method "ListQueuedOwners" signal] 9 (#$ . 33341)])
#@142 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.

(fn BUS SERVICE)
(defalias 'dbus-get-name-owner #[514 "\3041\305	\n\306&0\207\205\307@A\"\207" [dbus-service-dbus dbus-path-dbus dbus-interface-dbus dbus-debug (dbus-error) dbus-call-method "GetNameOwner" signal] 9 (#$ . 33769)])
#@404 Check whether SERVICE is registered for D-Bus BUS.
TIMEOUT, a nonnegative integer, specifies the maximum number of
milliseconds before `dbus-ping' must return.  The default value
is 25,000.

Note, that this autoloads SERVICE if it is not running yet.  To
check whether SERVICE is already running, you can instead write

  (member service (dbus-list-known-names bus))

(fn BUS SERVICE &optional TIMEOUT)
(defalias 'dbus-ping #[770 "\3021\"\303!\203\304	\305\306&\202\304	\305%?0\207\210\307\207" [dbus-path-dbus dbus-interface-peer (dbus-error) natnump dbus-call-method "Ping" :timeout nil] 11 (#$ . 34142)])
#@138 Default handler for the "org.freedesktop.DBus.Peer" interface.
It will be registered for all objects created by `dbus-register-service'.
(defalias 'dbus-peer-handler #[0 "\302!\211\303\230\203\304\202\211\305\230\205\306\307\310\311	\"C\")\207" [last-input-event dbus-interface-peer dbus-event-member-name "Ping" :ignore "GetMachineId" signal dbus-error format "%s.GetMachineId not implemented"] 6 (#$ . 34772)])
#@387 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.

(fn BUS SERVICE PATH)
(defalias 'dbus-introspect #[771 "\3021\303\304\305\306&0\207	\205\307@A\"\207" [dbus-interface-introspectable dbus-debug (dbus-error) dbus-call-method "Introspect" :timeout 1000 signal] 11 (#$ . 35201)])
#@261 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.

(fn BUS SERVICE PATH)
(defalias 'dbus-introspect-xml #[771 "\3001)\301\302!r\211q\210\303\304\305\306\307!\310\"\311$\216\312#c\210\313ed\"*\2620\202+\210\314\211@\207" [(error) generate-new-buffer " *temp*" make-byte-code 0 "\301\300!\205	\302\300!\207" vconcat vector [buffer-name kill-buffer] 2 dbus-introspect xml-parse-region nil] 10 (#$ . 35810)])
#@170 Return the ATTRIBUTE value of D-Bus introspection OBJECT.
ATTRIBUTE must be a string according to the attribute names in
the D-Bus specification.

(fn OBJECT ATTRIBUTE)
(defalias 'dbus-introspect-get-attribute #[514 "\300\301!\"\207" [xml-get-attribute-or-nil intern] 6 (#$ . 36417)])
#@190 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.

(fn BUS SERVICE PATH)
(defalias 'dbus-introspect-get-node-names #[771 "\300#\301\302\303\"\211\203\211@\304\305\"B\262A\266\202\202\n\237\262\207" [dbus-introspect-xml nil xml-get-children node dbus-introspect-get-attribute "name"] 10 (#$ . 36711)])
#@164 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.

(fn BUS SERVICE PATH)
(defalias 'dbus-introspect-get-all-nodes #[771 "\211C\300#\211\203&\211@\301\"\262\302\303#\"\262A\266\202\202\262\207" [dbus-introspect-get-node-names expand-file-name append dbus-introspect-get-all-nodes] 12 (#$ . 37148)])
#@388 Return all interface names of SERVICE in D-Bus BUS at object path PATH.
It returns a list of strings.

The default interface "org.freedesktop.DBus.Introspectable" is
always present.  Another default interface is
"org.freedesktop.DBus.Properties".  If present, "interface"
objects can also have "property" objects as children, beside
"method" and "signal" objects.

(fn BUS SERVICE PATH)
(defalias 'dbus-introspect-get-interface-names #[771 "\300#\301\302\303\"\211\203\211@\304\305\"B\262A\266\202\202\n\237\262\207" [dbus-introspect-xml nil xml-get-children interface dbus-introspect-get-attribute "name"] 10 (#$ . 37562)])
#@343 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
and a member of the list returned by
`dbus-introspect-get-interface-names'.  The resulting
"interface" object can contain "method", "signal",
"property" and "annotation" children.

(fn BUS SERVICE PATH INTERFACE)
(defalias 'dbus-introspect-get-interface #[1028 "\300\301#\302\"\211\203\303@\304\"\230\204\211A\262\202\211@\207" [xml-get-children dbus-introspect-xml interface dbus-introspect-get-attribute "name"] 9 (#$ . 38207)])
#@148 Return a list of strings of all method names of INTERFACE.
SERVICE is a service of D-Bus BUS at object path PATH.

(fn BUS SERVICE PATH INTERFACE)
(defalias 'dbus-introspect-get-method-names #[1028 "\300$\301\302\303\"\211\203 \211@\304\305\"B\262A\266\202\202\237\262\207" [dbus-introspect-get-interface nil xml-get-children method dbus-introspect-get-attribute "name"] 11 (#$ . 38786)])
#@340 Return method METHOD of interface INTERFACE as an XML object.
It must be located at SERVICE in D-Bus BUS at object path PATH.
METHOD must be a string and a member of the list returned by
`dbus-introspect-get-method-names'.  The resulting "method"
object can contain "arg" and "annotation" children.

(fn BUS SERVICE PATH INTERFACE METHOD)
(defalias 'dbus-introspect-get-method #[1285 "\300\301$\302\"\211\203\"\303@\304\"\230\204\"\211A\262\202
\211@\207" [xml-get-children dbus-introspect-get-interface method dbus-introspect-get-attribute "name"] 11 (#$ . 39196)])
#@148 Return a list of strings of all signal names of INTERFACE.
SERVICE is a service of D-Bus BUS at object path PATH.

(fn BUS SERVICE PATH INTERFACE)
(defalias 'dbus-introspect-get-signal-names #[1028 "\300$\301\302\303\"\211\203 \211@\304\305\"B\262A\266\202\202\237\262\207" [dbus-introspect-get-interface nil xml-get-children signal dbus-introspect-get-attribute "name"] 11 (#$ . 39784)])
#@336 Return signal SIGNAL of interface INTERFACE as an 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.

(fn BUS SERVICE PATH INTERFACE SIGNAL)
(defalias 'dbus-introspect-get-signal #[1285 "\300\301$\302\"\211\203\"\303@\304\"\230\204\"\211A\262\202
\211@\207" [xml-get-children dbus-introspect-get-interface signal dbus-introspect-get-attribute "name"] 11 (#$ . 40194)])
#@150 Return a list of strings of all property names of INTERFACE.
SERVICE is a service of D-Bus BUS at object path PATH.

(fn BUS SERVICE PATH INTERFACE)
(defalias 'dbus-introspect-get-property-names #[1028 "\300$\301\302\303\"\211\203 \211@\304\305\"B\262A\266\202\202\237\262\207" [dbus-introspect-get-interface nil xml-get-children property dbus-introspect-get-attribute "name"] 11 (#$ . 40778)])
#@321 Return PROPERTY of INTERFACE as an XML object.
It must be located at SERVICE in D-Bus BUS at object path PATH.
PROPERTY must be a string and a member of the list returned by
`dbus-introspect-get-property-names'.  The resulting PROPERTY
object can contain "annotation" children.

(fn BUS SERVICE PATH INTERFACE PROPERTY)
(defalias 'dbus-introspect-get-property #[1285 "\300\301$\302\"\211\203\"\303@\304\"\230\204\"\211A\262\202
\211@\207" [xml-get-children dbus-introspect-get-interface property dbus-introspect-get-attribute "name"] 11 (#$ . 41194)])
#@258 Return all annotation names as a 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.

(fn BUS SERVICE PATH INTERFACE &optional NAME)
(defalias 'dbus-introspect-get-annotation-names #[1284 "\211\203\"\300%\206(\301%\206(\302%\202(\303$\304\305\306\"\211\203B\211@\307\310\"B\262A\266\202\202-\237\262\207" [dbus-introspect-get-method dbus-introspect-get-signal dbus-introspect-get-property dbus-introspect-get-interface nil xml-get-children annotation dbus-introspect-get-attribute "name"] 12 (#$ . 41767)])
#@250 Return ANNOTATION as an 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.

(fn BUS SERVICE PATH INTERFACE NAME ANNOTATION)
(defalias 'dbus-introspect-get-annotation #[1542 "\300\2032\301%\206<\302%\206<\303%\202<\304$\305\"\211\203S\306@\307\"\230\204S\211A\262\202>\211@\207" [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"] 13 (#$ . 42437)])
#@254 Return a list of all argument names as a 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.

(fn BUS SERVICE PATH INTERFACE NAME)
(defalias 'dbus-introspect-get-argument-names #[1285 "\300%\206\301%\302\303\304\"\211\203+\211@\305\306\"B\262A\266\202\202\237\262\207" [dbus-introspect-get-method dbus-introspect-get-signal nil xml-get-children arg dbus-introspect-get-attribute "name"] 12 (#$ . 43094)])
#@219 Return argument ARG as XML object.
NAME must be a "method" or "signal" object.  ARG must be a
string and a member of the list returned by
`dbus-introspect-get-argument-names'.

(fn BUS SERVICE PATH INTERFACE NAME ARG)
(defalias 'dbus-introspect-get-argument #[1542 "\300\301%\206\302%\303\"\211\2033\304@\305\"\230\2043\211A\262\202\211@\207" [xml-get-children dbus-introspect-get-method dbus-introspect-get-signal arg dbus-introspect-get-attribute "name"] 13 (#$ . 43650)])
#@310 Return signature of a `method' or `signal' represented by NAME as a 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".

(fn BUS SERVICE PATH INTERFACE NAME &optional DIRECTION)
(defalias 'dbus-introspect-get-signature #[1541 "\211C\300%\206\301%\302\303\"\304\230\2030\242;\2040\305\240\210\302\303\"\306\230\203=\307\240\210\310\311\312\313\314\315




\f&\316\"\317\320%\321\n\n\n\n\n%\322#\262\207" [dbus-introspect-get-method dbus-introspect-get-signal dbus-introspect-get-attribute "name" "method" "in" "signal" nil mapconcat make-byte-code 257 "\306\300\301\302\303\304&\305\242;\203\305\242\307\310\"\230\203!\307\311\"\202\"\312\207" vconcat vector [dbus-introspect-get-argument dbus-introspect-get-attribute "direction" "type" #1=""] 8 "\n\n(fn X)" dbus-introspect-get-argument-names #1#] 20 (#$ . 44161)])
#@202 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.

(fn BUS SERVICE PATH INTERFACE PROPERTY)
(defalias 'dbus-get-property #[1285 "\3021\303\304\305\306		&	@0\207	\205\307@A\"\207" [dbus-interface-properties dbus-debug (dbus-error) dbus-call-method "Get" :timeout 500 signal] 15 (#$ . 45168)])
#@210 Set value of PROPERTY of INTERFACE to VALUE.
It will be checked at BUS, SERVICE, PATH.  When the value is
successfully set return VALUE.  Otherwise, return nil.

(fn BUS SERVICE PATH INTERFACE PROPERTY VALUE)
(defalias 'dbus-set-property #[1542 "\3021(\303\304\305\306\n\n\307D&\n\210\310%0\207	\2052\311@A\"\207" [dbus-interface-properties dbus-debug (dbus-error) dbus-call-method "Set" :timeout 500 :variant dbus-get-property signal] 18 (#$ . 45588)])
#@238 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.

(fn BUS SERVICE PATH INTERFACE)
(defalias 'dbus-get-all-properties #[1028 "\30211\303\304\305\306\307	&\211\203)\211@\211@A@@BB\262A\266\202\202\237\262\2620\207	\205;\310@A\"\207" [dbus-interface-properties dbus-debug (dbus-error) nil dbus-call-method "GetAll" :timeout 500 signal] 14 (#$ . 46074)])
#@131 Return PROPERTY entry of `dbus-registered-objects-table'.
Filter out not matching PATH.

(fn BUS SERVICE PATH INTERFACE PROPERTY)
(defalias 'dbus-get-this-registered-property #[1285 "\301\302\303\304\305\306!\307\"\310\311%\312\313F\"\"\207" [dbus-registered-objects-table seq-remove make-byte-code 257 "\300\3018\230?\207" vconcat vector [2] 4 "\n\n(fn ITEM)" gethash :property] 12 (#$ . 46607)])
#@127 Return PROPERTY entry of `dbus-registered-objects-table'.
Filter out matching PATH.

(fn BUS SERVICE PATH INTERFACE PROPERTY)
(defalias 'dbus-get-other-registered-property #[1285 "\301\302\303\304\305\306!\307\"\310\311%\312\313F\"\"\207" [dbus-registered-objects-table seq-remove make-byte-code 257 "\300\3018\230\207" vconcat vector [2] 4 "\n\n(fn ITEM)" gethash :property] 12 (#$ . 47022)])
#@1699 Register 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 at (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.

(fn BUS SERVICE PATH INTERFACE PROPERTY ACCESS VALUE &optional EMITS-SIGNAL DONT-REGISTER-SERVICE)
(defalias 'dbus-register-property #[2311 "\302>\204\303\304\305D\"\210\306			\307\310\311&\210\306			\312\310\311&\210\306			\313\310\311&\210\211\204M\314\n!\235\204M\315		\"\210\203g\316			\317\320\321DEC\322&\210\323	F\324		\203\325D\202\202CBF\326%B\327	#\210\n\nDD\207" [dbus-interface-properties dbus-registered-objects-table (: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 dbus-get-other-registered-property puthash] 19 (#$ . 47434)])
#@162 Default handler for the "org.freedesktop.DBus.Properties" interface.
It will be registered for all objects created by `dbus-register-property'.

(fn &rest ARGS)
(defalias 'dbus-property-handler #[128 "\303!\304!\305!\306!@A@\307\230\2038\310%\311@8\230\2053\312\313@!@ADC\262\202\346\314\230\203\275AA@@\310%\313@!@\211:\204d\315\316\317\nE\"\210\320@>\204u\315\316\321\nE\"\210\322\323\nF\324\325@!@BC\"\326\f\f\f%B	#\210\327@>\203\267\330			\n\331\332\n\312DEC\333&\210\334\266\203\202\346\335\230\205\346\336C\337\340\341\342\343\344\f\n	$\345\"\346\347%	\"\210\350\242\206\343\351D\262\207" [last-input-event dbus-registered-objects-table dbus-interface-properties dbus-event-bus-name dbus-event-service-name dbus-event-path-name dbus-event-member-name "Get" dbus-get-this-registered-property 2 :variant last "Set" signal dbus-error "Property not registered at path" :readwrite "Property not writable at path" puthash :property append butlast dbus-get-other-registered-property :emits-signal dbus-send-signal "PropertiesChanged" :dict-entry (:array) :ignore "GetAll" nil maphash make-byte-code 514 "\211\211\205>\211@\304!\305\300\302E\232\2037\301\3068\230\2037\307\310!@!\2047\303\311\310!@\312\310!@ADE\303\242B\240\210A\266\202\202\207" vconcat vector [butlast :property 2 functionp last :dict-entry :variant] 10 "\n\n(fn KEY VAL)" :array (:signature "{sv}")] 20 (#$ . 49882)])
#@1489 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, whose car is the interface
name and 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.

(fn BUS SERVICE PATH)
(defalias 'dbus-get-all-managed-objects #[771 "\3021\303\304\305\306&0\202	\205\307@A\"\262\211\203z\211\211\203t\211@\211A\211\203l\211@\211\211\203d\211@\211A@\203Y\211A@\211\203U\211@\211A@@\241\210A\266\202\202A\210\202]\211\310\241\210A\266\202\2022\210A\266\202\202+\210A\266\202\202#\262\202\300\311#\211\203\275\211@\310\312#\211\203\251\211@\211\313\n\n$BB\262A\266\202\202\215\210\211\203\265BB\262\210A\266\202\202\262\207" [dbus-interface-objectmanager dbus-debug (dbus-error) dbus-call-method "GetManagedObjects" :timeout 1000 signal nil dbus-introspect-get-all-nodes dbus-introspect-get-interface-names dbus-get-all-properties] 15 (#$ . 51371)])
#@147 Default handler for the "org.freedesktop.DBus.ObjectManager" interface.
It will be registered for all objects created by `dbus-register-service'.
(defalias 'dbus-managed-objects-handler #[0 "\302!\303!\304C\304C\305\306\307\310\311\312	\"\313\"\314\315%	\"\210\305\306\307\316\311\312				$\317\"\320\315%	\"\210\321\322\323\242\"\206@\324D\266\202)\207" [last-input-event dbus-registered-objects-table dbus-event-bus-name dbus-event-path-name nil maphash make-byte-code 514 "\302\303\"\304\300D\232\205\303\2428?\205\301\3038\301\242B\240\207" vconcat vector [butlast 2 :method] 5 "\n\n(fn KEY VAL)" "\306\2428\206\307\310\306\"\311\300D\232\205o\312\301\"\205o\3068\302\242B\211\205m\211@\313\303\242\"\2046\303C\303\242B\240\210\313\313\303\242\"A\"\204f\313\303\242\"\314\314\310\f\315\"
\316\317F\"\317!)BC\313\303\242\"A\"\241\210A\266\202\202 \262\207" [last-input-event dbus-interface-properties 2 "" butlast :method string-prefix-p assoc append 4 "GetAll" dbus-property-handler] 14 :array mapcar #[257 "\300\301@\302\303\304A\"BF\207" [:dict-entry :object-path :array mapcar #[257 "\300B\207" [:dict-entry] 3 "\n\n(fn Y)"]] 8 "\n\n(fn X)"] (:signature "{oa{sa{sv}}}")] 14 (#$ . 53588)])
#@197 React to a bus disconnection.
BUS is the bus that disconnected.  This routine unregisters all
handlers on the given bus and causes all synchronous calls
pending at the time of disconnect to fail.
(defalias 'dbus-handle-bus-disconnect #[0 "\302!\303C\304\305\306\307\310\311\"\312\"\313\314%	\"\210\211\242\211\205,\211@\315	\"\210A\266\202\202\262\207" [last-input-event dbus-registered-objects-table dbus-event-bus-name nil maphash make-byte-code 514 "@\303=\205,A@\300=\205,\304\305\306\300\n\3078\310\211\211\211\n\257	\311\312\300E#\210\301\301\242B\240\207" vconcat vector [dbus-message-type-error :serial run-hook-with-args dbus-event-error-functions dbus-event 2 nil dbus-error "Bus disconnected"] 13 "\n\n(fn KEY VALUE)" remhash] 10 (#$ . 54840)])
#@1164 Establish the connection to D-Bus BUS.

BUS can be either the symbol `:system' or the symbol `:session', or it
can be a string denoting the address of the corresponding bus.  For
the system and session buses, this function is called when loading
`dbus.el', there is no need to call it again.

The function returns the number of connections this Emacs session
has established to the BUS under the same unique name (see
`dbus-get-unique-name').  It depends on the libraries Emacs is
linked with, and on the environment Emacs is running.  For
example, if Emacs is linked with the GTK+ toolkit, and it runs in
a GTK+-aware environment like GNOME, another connection might
already be established.

When PRIVATE is non-nil, a new connection is established instead of
reusing an existing one.  It results in a new unique name at the bus.
This can be used, if it is necessary to distinguish from another
connection used in the same Emacs process, like the one established by
GTK+.  It should be used with care for at least the `:system' and
`:session' buses, because other Emacs Lisp packages might already use
this connection to those buses.

(fn BUS &optional PRIVATE)
(defalias 'dbus-init-bus #[513 "\302\303!\204\f\304\305\306C\"\210\307\"\310\311	\312\313&\210\207" [dbus-path-local dbus-interface-local featurep dbusbind signal dbus-error "Emacs not compiled with dbus support" dbus--init-bus dbus-register-signal nil "Disconnected" dbus-handle-bus-disconnect] 10 (#$ . 55623)])
(byte-code "\301\302!\2036\3031\304\305!0\202\205\306@A\"\262\210\3071)\304\310!0\2025\2053\306@A\"\262\210\311\312!\207" [dbus-debug featurep dbusbind (dbus-error) dbus-init-bus :system signal (dbus-error) :session provide dbus] 4)

Zerion Mini Shell 1.0