zeroconf-service-add-hook
zeroconf-service-add-hook is a compiled Lisp function in `zeroconf.el
'.
(zeroconf-service-add-hook TYPE EVENT FUNCTION)
Add FUNCTION to the hook of service type TYPE.
EVENT must be either :new or :removed, indicating whether
FUNCTION shall be called when a new service has been newly
detected, or removed.
FUNCTION must accept one argument SERVICE, which identifies the
new service. Initially, when EVENT is :new, FUNCTION is called
for all already detected services of service type TYPE.
The attributes of SERVICE can be retrieved via the functions
`zeroconf-service-interface'
`zeroconf-service-protocol'
`zeroconf-service-name'
`zeroconf-service-type'
`zeroconf-service-domain'
`zeroconf-service-flags'
`zeroconf-service-host'
`zeroconf-service-aprotocol'
`zeroconf-service-address'
`zeroconf-service-port'
`zeroconf-service-txt'