summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-dnssd.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* resolved: rename DnssdService "name" field to "id"Lennart Poettering2024-04-221-1/+1
| | | | | | | | | "name" is a bit confusing since this field is *not* the DNS-SD service identifier, bust just some string derived from the .dnssd filename that is used as handle for the service. Let's hence give it a better name: "id". While we are at it, switch from basename() to path_extract_filename().
* resolved: rename DnssdService.filename field to .pathLennart Poettering2024-04-221-1/+1
| | | | | It contains a full path, not just a filename, hence name it appropriately.
* resolved: support reloading configuration at runtimeLuca Boccassi2024-03-261-0/+5
| | | | | | | | | | | Drop connections and caches and reload config from files, to allow for low-interruptions updates, and hook up to the usual SIGHUP and ExecReload=. Mark servers and services configured directly via D-Bus so that they can be kept around, and only the configuration file settings are dropped and reloaded. Fixes https://github.com/systemd/systemd/issues/17503 Fixes https://github.com/systemd/systemd/issues/20604
* dnssd: support service subtypesRonan Pigott2024-03-181-0/+2
| | | | A service subtype is used for selective enumeration of services.
* resolved: rename field to indicate that it's a listZbigniew Jędrzejewski-Szmek2022-07-021-2/+2
|
* resolve/dnssd: make dnssd_render_instance_name() take ManagerYu Watanabe2022-05-151-1/+1
| | | | | | | As DnssdService object passed to dnssd_render_instance_name() may not owned by Manager. Fixes #23381.
* resolve: check that bus is ready before emitting signal or property changeYu Watanabe2021-05-081-1/+1
|
* Revert "resolve: check DNSSD service name template before assigning it"Roman Beranek2020-11-171-1/+1
| | | | | | | | | This reverts commit 34136e1503cf60852051adbd8b9a002d6282b750. Having the "%H" host name specifier in a DNSSD service name template triggers a failed assertion during name template instantiation as specifier_dnssd_host_name expects DnssdService in its userdata pointer but finds NULL instead.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* tree-wide: use the usual SPDX header for our own filesZbigniew Jędrzejewski-Szmek2020-10-291-0/+2
|
* resolve: check DNSSD service name template before assigning itYu Watanabe2020-09-101-1/+1
|
* tree-wide: drop double newlineYu Watanabe2018-06-291-1/+0
|
* tree-wide: drop copyright headers from frequent contributorsZbigniew Jędrzejewski-Szmek2018-06-201-3/+0
| | | | | | | | Fixes #9320. for p in Shapovalov Chevalier Rozhkov Sievers Mack Herrmann Schmidt Rudenberg Sahani Landden Andersen Watanabe; do git grep -e 'Copyright.*'$p -l|xargs perl -i -0pe 's|/([*][*])?[*]\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\s*[*]([*][*])?/\n*|\n|gms; s|\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\n*|\n|gms' done
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
| | | | | | Let's unify an beautify our remaining copyright statements, with a unicode ©. This means our copyright statements are now always formatted the same way. Yay.
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | | | | | | This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit.
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* resolved: support multiple TXT RRs per DNS-SD serviceDmitry Rozhkov2017-12-081-2/+18
| | | | | Section 6.8 of RFC 6763 allows having service instances with multiple TXT resource records.
* resolved: consult Polkit for privileges when manipulating DNS-SDDmitry Rozhkov2017-12-081-0/+1
|
* resolved: implement D-Bus API for DNS-SDDmitry Rozhkov2017-12-081-0/+3
|
* resolved: put DNS-SD records to mDNS-enabled zones.Dmitry Rozhkov2017-12-081-0/+1
|
* resolved: add enablers for DNS-SDDmitry Rozhkov2017-12-081-0/+57
Introduce network services loaded from .dnssd files that can be used for server-side DNS-SD implementation in systemd-resolved.