Function: zeroconf-register-service-browser

zeroconf-register-service-browser is a byte-compiled function defined in zeroconf.el.gz.

Signature

(zeroconf-register-service-browser TYPE)

Documentation

Register a service browser at the Avahi daemon.

Source Code

;; Defined in /usr/src/emacs/lisp/net/zeroconf.el.gz
(defun zeroconf-register-service-browser (type)
  "Register a service browser at the Avahi daemon."
  (or (gethash type zeroconf-path-avahi-service-browser-hash nil)
      (puthash type
	       (dbus-call-method
		:system zeroconf-service-avahi zeroconf-path-avahi
		zeroconf-interface-avahi-server "ServiceBrowserNew"
		zeroconf-avahi-interface-unspec
		zeroconf-avahi-protocol-unspec
		type
		zeroconf-avahi-current-domain
		zeroconf-avahi-flags-unspec)
	       zeroconf-path-avahi-service-browser-hash)))