diff options
Diffstat (limited to 'lisp/net/zeroconf.el')
-rw-r--r-- | lisp/net/zeroconf.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/net/zeroconf.el b/lisp/net/zeroconf.el index 36643a828eb..048f2e761b5 100644 --- a/lisp/net/zeroconf.el +++ b/lisp/net/zeroconf.el @@ -253,7 +253,7 @@ the service. Usually, every string is a key=value pair. The supported keys depend on the service type.") (defun zeroconf-list-service-names () - "Returns all discovered Avahi service names as list." + "Return all discovered Avahi service names as list." (let (result) (maphash (lambda (_key value) (add-to-list 'result (zeroconf-service-name value))) @@ -261,7 +261,7 @@ supported keys depend on the service type.") result)) (defun zeroconf-list-service-types () - "Returns all discovered Avahi service types as list." + "Return all discovered Avahi service types as list." (let (result) (maphash (lambda (_key value) (add-to-list 'result (zeroconf-service-type value))) @@ -269,7 +269,7 @@ supported keys depend on the service type.") result)) (defun zeroconf-list-services (type) - "Returns all discovered Avahi services for a given service type TYPE. + "Return all discovered Avahi services for a given service type TYPE. The service type is one of the returned values of `zeroconf-list-service-types'. The return value is a list \(SERVICE1 SERVICE2 ...). See `zeroconf-services-hash' for the @@ -341,19 +341,19 @@ type used when registering FUNCTION." (remhash type table)))) (defun zeroconf-get-host () - "Returns the local host name as string." + "Return the local host name as string." (dbus-call-method :system zeroconf-service-avahi zeroconf-path-avahi zeroconf-interface-avahi-server "GetHostName")) (defun zeroconf-get-domain () - "Returns the domain name as string." + "Return the domain name as string." (dbus-call-method :system zeroconf-service-avahi zeroconf-path-avahi zeroconf-interface-avahi-server "GetDomainName")) (defun zeroconf-get-host-domain () - "Returns the local host name FQDN as string." + "Return the local host name FQDN as string." (dbus-call-method :system zeroconf-service-avahi zeroconf-path-avahi zeroconf-interface-avahi-server "GetHostNameFqdn")) |