From 623f13d8198b83df890f014b1d27255f4d78f35b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 21 Oct 2016 03:00:49 -0400 Subject: wip --- src/grp-resolve/libbasic-dns/Makefile | 2 +- src/grp-resolve/libbasic-dns/dns-type.c | 4 +-- src/grp-resolve/libbasic-dns/dns-type.h | 2 +- src/grp-resolve/libbasic-dns/resolved-dns-answer.c | 6 ++--- src/grp-resolve/libbasic-dns/resolved-dns-answer.h | 2 +- src/grp-resolve/libbasic-dns/resolved-dns-dnssec.c | 10 ++++---- src/grp-resolve/libbasic-dns/resolved-dns-dnssec.h | 2 +- src/grp-resolve/libbasic-dns/resolved-dns-packet.c | 14 +++++----- src/grp-resolve/libbasic-dns/resolved-dns-packet.h | 8 +++--- .../libbasic-dns/resolved-dns-question.c | 4 +-- .../libbasic-dns/resolved-dns-question.h | 2 +- src/grp-resolve/libbasic-dns/resolved-dns-rr.c | 16 ++++++------ src/grp-resolve/libbasic-dns/resolved-dns-rr.h | 10 ++++---- src/grp-resolve/libbasic-dns/test-dns-packet.c | 16 ++++++------ src/grp-resolve/libbasic-dns/test-dnssec-complex.c | 10 ++++---- src/grp-resolve/libbasic-dns/test-dnssec.c | 6 ++--- src/grp-resolve/libbasic-dns/test-resolve-tables.c | 2 +- src/grp-resolve/nss-resolve/Makefile | 2 +- src/grp-resolve/nss-resolve/nss-resolve.c | 12 ++++----- src/grp-resolve/systemd-resolve/resolve-tool.c | 22 ++++++++-------- src/grp-resolve/systemd-resolved/resolved-bus.c | 6 ++--- src/grp-resolve/systemd-resolved/resolved-conf.c | 12 ++++----- .../systemd-resolved/resolved-dns-cache.c | 8 +++--- .../systemd-resolved/resolved-dns-cache.h | 8 +++--- .../systemd-resolved/resolved-dns-query.c | 8 +++--- .../systemd-resolved/resolved-dns-query.h | 2 +- .../systemd-resolved/resolved-dns-scope.c | 18 ++++++------- .../systemd-resolved/resolved-dns-scope.h | 2 +- .../systemd-resolved/resolved-dns-search-domain.c | 4 +-- .../systemd-resolved/resolved-dns-search-domain.h | 2 +- .../systemd-resolved/resolved-dns-server.c | 8 +++--- .../systemd-resolved/resolved-dns-server.h | 2 +- .../systemd-resolved/resolved-dns-stream.c | 8 +++--- .../systemd-resolved/resolved-dns-stream.h | 2 +- .../systemd-resolved/resolved-dns-stub.c | 4 +-- .../systemd-resolved/resolved-dns-synthesize.c | 4 +-- .../systemd-resolved/resolved-dns-transaction.c | 14 +++++----- .../systemd-resolved/resolved-dns-trust-anchor.c | 22 ++++++++-------- .../systemd-resolved/resolved-dns-trust-anchor.h | 2 +- .../systemd-resolved/resolved-dns-zone.c | 8 +++--- .../systemd-resolved/resolved-dns-zone.h | 2 +- .../systemd-resolved/resolved-etc-hosts.c | 12 ++++----- .../systemd-resolved/resolved-gperf.gperf | 2 +- .../systemd-resolved/resolved-link-bus.c | 10 ++++---- src/grp-resolve/systemd-resolved/resolved-link.c | 18 ++++++------- src/grp-resolve/systemd-resolved/resolved-link.h | 6 ++--- src/grp-resolve/systemd-resolved/resolved-llmnr.c | 2 +- .../systemd-resolved/resolved-manager.c | 30 +++++++++++----------- .../systemd-resolved/resolved-manager.h | 12 ++++----- src/grp-resolve/systemd-resolved/resolved-mdns.c | 2 +- .../systemd-resolved/resolved-resolv-conf.c | 16 ++++++------ src/grp-resolve/systemd-resolved/resolved.c | 10 ++++---- 52 files changed, 209 insertions(+), 209 deletions(-) (limited to 'src/grp-resolve') diff --git a/src/grp-resolve/libbasic-dns/Makefile b/src/grp-resolve/libbasic-dns/Makefile index e5c32d8539..294283d062 100644 --- a/src/grp-resolve/libbasic-dns/Makefile +++ b/src/grp-resolve/libbasic-dns/Makefile @@ -121,7 +121,7 @@ test_dnssec_complex_LDADD = \ libsystemd-shared.la noinst_LTLIBRARIES = libbasic-dns.la -libbasic_dns_la_LIBADD = libshared.la +libbasic_dns_la_LIBADD = libsystemd-shared.la $(outdir)/dns-type.lo: $(outdir)/dns_type-from-name.h $(outdir)/dns_type-to-name.h include $(topsrcdir)/build-aux/Makefile.tail.mk diff --git a/src/grp-resolve/libbasic-dns/dns-type.c b/src/grp-resolve/libbasic-dns/dns-type.c index eceb72f545..44e4970fbf 100644 --- a/src/grp-resolve/libbasic-dns/dns-type.c +++ b/src/grp-resolve/libbasic-dns/dns-type.c @@ -19,8 +19,8 @@ #include -#include "basic/parse-util.h" -#include "basic/string-util.h" +#include "systemd-basic/parse-util.h" +#include "systemd-basic/string-util.h" #include "dns-type.h" diff --git a/src/grp-resolve/libbasic-dns/dns-type.h b/src/grp-resolve/libbasic-dns/dns-type.h index be548b6073..df1642f85e 100644 --- a/src/grp-resolve/libbasic-dns/dns-type.h +++ b/src/grp-resolve/libbasic-dns/dns-type.h @@ -19,7 +19,7 @@ along with systemd; If not, see . ***/ -#include "basic/macro.h" +#include "systemd-basic/macro.h" /* DNS record types, taken from * http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml. diff --git a/src/grp-resolve/libbasic-dns/resolved-dns-answer.c b/src/grp-resolve/libbasic-dns/resolved-dns-answer.c index c45505b441..95c1398056 100644 --- a/src/grp-resolve/libbasic-dns/resolved-dns-answer.c +++ b/src/grp-resolve/libbasic-dns/resolved-dns-answer.c @@ -17,9 +17,9 @@ along with systemd; If not, see . ***/ -#include "basic/alloc-util.h" -#include "basic/string-util.h" -#include "shared/dns-domain.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/string-util.h" +#include "systemd-shared/dns-domain.h" #include "resolved-dns-answer.h" #include "resolved-dns-dnssec.h" diff --git a/src/grp-resolve/libbasic-dns/resolved-dns-answer.h b/src/grp-resolve/libbasic-dns/resolved-dns-answer.h index bbb836fc7e..447604d008 100644 --- a/src/grp-resolve/libbasic-dns/resolved-dns-answer.h +++ b/src/grp-resolve/libbasic-dns/resolved-dns-answer.h @@ -19,7 +19,7 @@ along with systemd; If not, see . ***/ -#include "basic/macro.h" +#include "systemd-basic/macro.h" typedef struct DnsAnswer DnsAnswer; typedef struct DnsAnswerItem DnsAnswerItem; diff --git a/src/grp-resolve/libbasic-dns/resolved-dns-dnssec.c b/src/grp-resolve/libbasic-dns/resolved-dns-dnssec.c index a53f2daa28..6b14287a51 100644 --- a/src/grp-resolve/libbasic-dns/resolved-dns-dnssec.c +++ b/src/grp-resolve/libbasic-dns/resolved-dns-dnssec.c @@ -21,11 +21,11 @@ #include #endif -#include "basic/alloc-util.h" -#include "basic/hexdecoct.h" -#include "basic/string-table.h" -#include "shared/dns-domain.h" -#include "shared/gcrypt-util.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/hexdecoct.h" +#include "systemd-basic/string-table.h" +#include "systemd-gcrypt/gcrypt-util.h" +#include "systemd-shared/dns-domain.h" #include "resolved-dns-dnssec.h" #include "resolved-dns-packet.h" diff --git a/src/grp-resolve/libbasic-dns/resolved-dns-dnssec.h b/src/grp-resolve/libbasic-dns/resolved-dns-dnssec.h index b73cc24100..b91abe98ac 100644 --- a/src/grp-resolve/libbasic-dns/resolved-dns-dnssec.h +++ b/src/grp-resolve/libbasic-dns/resolved-dns-dnssec.h @@ -19,7 +19,7 @@ along with systemd; If not, see . ***/ -#include "shared/dns-domain.h" +#include "systemd-shared/dns-domain.h" typedef enum DnssecResult DnssecResult; typedef enum DnssecVerdict DnssecVerdict; diff --git a/src/grp-resolve/libbasic-dns/resolved-dns-packet.c b/src/grp-resolve/libbasic-dns/resolved-dns-packet.c index e5a497e0ed..28667bb3e8 100644 --- a/src/grp-resolve/libbasic-dns/resolved-dns-packet.c +++ b/src/grp-resolve/libbasic-dns/resolved-dns-packet.c @@ -17,13 +17,13 @@ along with systemd; If not, see . ***/ -#include "basic/alloc-util.h" -#include "basic/string-table.h" -#include "basic/strv.h" -#include "basic/unaligned.h" -#include "basic/utf8.h" -#include "basic/util.h" -#include "shared/dns-domain.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/string-table.h" +#include "systemd-basic/strv.h" +#include "systemd-basic/unaligned.h" +#include "systemd-basic/utf8.h" +#include "systemd-basic/util.h" +#include "systemd-shared/dns-domain.h" #include "resolved-dns-packet.h" diff --git a/src/grp-resolve/libbasic-dns/resolved-dns-packet.h b/src/grp-resolve/libbasic-dns/resolved-dns-packet.h index a9e95ebd75..cb03de8986 100644 --- a/src/grp-resolve/libbasic-dns/resolved-dns-packet.h +++ b/src/grp-resolve/libbasic-dns/resolved-dns-packet.h @@ -22,10 +22,10 @@ #include #include -#include "basic/hashmap.h" -#include "basic/in-addr-util.h" -#include "basic/macro.h" -#include "basic/sparse-endian.h" +#include "systemd-basic/hashmap.h" +#include "systemd-basic/in-addr-util.h" +#include "systemd-basic/macro.h" +#include "systemd-basic/sparse-endian.h" typedef struct DnsPacket DnsPacket; typedef struct DnsPacketHeader DnsPacketHeader; diff --git a/src/grp-resolve/libbasic-dns/resolved-dns-question.c b/src/grp-resolve/libbasic-dns/resolved-dns-question.c index ee53dbff9d..686bc01a09 100644 --- a/src/grp-resolve/libbasic-dns/resolved-dns-question.c +++ b/src/grp-resolve/libbasic-dns/resolved-dns-question.c @@ -17,8 +17,8 @@ along with systemd; If not, see . ***/ -#include "basic/alloc-util.h" -#include "shared/dns-domain.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-shared/dns-domain.h" #include "dns-type.h" #include "resolved-dns-question.h" diff --git a/src/grp-resolve/libbasic-dns/resolved-dns-question.h b/src/grp-resolve/libbasic-dns/resolved-dns-question.h index fe47a6bd9e..fb1b2d2410 100644 --- a/src/grp-resolve/libbasic-dns/resolved-dns-question.h +++ b/src/grp-resolve/libbasic-dns/resolved-dns-question.h @@ -19,7 +19,7 @@ along with systemd; If not, see . ***/ -#include "basic/macro.h" +#include "systemd-basic/macro.h" typedef struct DnsQuestion DnsQuestion; diff --git a/src/grp-resolve/libbasic-dns/resolved-dns-rr.c b/src/grp-resolve/libbasic-dns/resolved-dns-rr.c index 73ca3c7fb9..fbe0ff65d6 100644 --- a/src/grp-resolve/libbasic-dns/resolved-dns-rr.c +++ b/src/grp-resolve/libbasic-dns/resolved-dns-rr.c @@ -19,14 +19,14 @@ #include -#include "basic/alloc-util.h" -#include "basic/escape.h" -#include "basic/hexdecoct.h" -#include "basic/string-table.h" -#include "basic/string-util.h" -#include "basic/strv.h" -#include "basic/terminal-util.h" -#include "shared/dns-domain.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/escape.h" +#include "systemd-basic/hexdecoct.h" +#include "systemd-basic/string-table.h" +#include "systemd-basic/string-util.h" +#include "systemd-basic/strv.h" +#include "systemd-basic/terminal-util.h" +#include "systemd-shared/dns-domain.h" #include "dns-type.h" #include "resolved-dns-dnssec.h" diff --git a/src/grp-resolve/libbasic-dns/resolved-dns-rr.h b/src/grp-resolve/libbasic-dns/resolved-dns-rr.h index 13240e57ed..864c7c237f 100644 --- a/src/grp-resolve/libbasic-dns/resolved-dns-rr.h +++ b/src/grp-resolve/libbasic-dns/resolved-dns-rr.h @@ -21,11 +21,11 @@ #include -#include "basic/bitmap.h" -#include "basic/hashmap.h" -#include "basic/in-addr-util.h" -#include "basic/list.h" -#include "basic/string-util.h" +#include "systemd-basic/bitmap.h" +#include "systemd-basic/hashmap.h" +#include "systemd-basic/in-addr-util.h" +#include "systemd-basic/list.h" +#include "systemd-basic/string-util.h" #include "dns-type.h" diff --git a/src/grp-resolve/libbasic-dns/test-dns-packet.c b/src/grp-resolve/libbasic-dns/test-dns-packet.c index c9e210fa94..059011513c 100644 --- a/src/grp-resolve/libbasic-dns/test-dns-packet.c +++ b/src/grp-resolve/libbasic-dns/test-dns-packet.c @@ -20,14 +20,14 @@ #include #include -#include "basic/alloc-util.h" -#include "basic/fileio.h" -#include "basic/glob-util.h" -#include "basic/log.h" -#include "basic/macro.h" -#include "basic/string-util.h" -#include "basic/strv.h" -#include "basic/unaligned.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/fileio.h" +#include "systemd-basic/glob-util.h" +#include "systemd-basic/log.h" +#include "systemd-basic/macro.h" +#include "systemd-basic/string-util.h" +#include "systemd-basic/strv.h" +#include "systemd-basic/unaligned.h" #include "resolved-dns-packet.h" #include "resolved-dns-rr.h" diff --git a/src/grp-resolve/libbasic-dns/test-dnssec-complex.c b/src/grp-resolve/libbasic-dns/test-dnssec-complex.c index ef78cd1ea5..afa01d9858 100644 --- a/src/grp-resolve/libbasic-dns/test-dnssec-complex.c +++ b/src/grp-resolve/libbasic-dns/test-dnssec-complex.c @@ -21,12 +21,12 @@ #include -#include "basic/af-list.h" -#include "basic/alloc-util.h" -#include "basic/random-util.h" -#include "basic/string-util.h" -#include "basic/time-util.h" #include "sd-bus/bus-common-errors.h" +#include "systemd-basic/af-list.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/random-util.h" +#include "systemd-basic/string-util.h" +#include "systemd-basic/time-util.h" #include "dns-type.h" diff --git a/src/grp-resolve/libbasic-dns/test-dnssec.c b/src/grp-resolve/libbasic-dns/test-dnssec.c index 1f05196d8e..1e7b4913b0 100644 --- a/src/grp-resolve/libbasic-dns/test-dnssec.c +++ b/src/grp-resolve/libbasic-dns/test-dnssec.c @@ -21,9 +21,9 @@ #include #include -#include "basic/alloc-util.h" -#include "basic/hexdecoct.h" -#include "basic/string-util.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/hexdecoct.h" +#include "systemd-basic/string-util.h" #include "resolved-dns-dnssec.h" #include "resolved-dns-rr.h" diff --git a/src/grp-resolve/libbasic-dns/test-resolve-tables.c b/src/grp-resolve/libbasic-dns/test-resolve-tables.c index 0eaab70687..6f96235dec 100644 --- a/src/grp-resolve/libbasic-dns/test-resolve-tables.c +++ b/src/grp-resolve/libbasic-dns/test-resolve-tables.c @@ -17,7 +17,7 @@ along with systemd; If not, see . ***/ -#include "shared/test-tables.h" +#include "systemd-shared/test-tables.h" #include "dns-type.h" diff --git a/src/grp-resolve/nss-resolve/Makefile b/src/grp-resolve/nss-resolve/Makefile index badbacdb3a..f1456dd725 100644 --- a/src/grp-resolve/nss-resolve/Makefile +++ b/src/grp-resolve/nss-resolve/Makefile @@ -37,7 +37,7 @@ libnss_resolve_la_LDFLAGS = \ libnss_resolve_la_LIBADD = \ libsystemd-internal.la \ - libbasic.la \ + libsystemd-basic.la \ -ldl lib_LTLIBRARIES += \ diff --git a/src/grp-resolve/nss-resolve/nss-resolve.c b/src/grp-resolve/nss-resolve/nss-resolve.c index e316803a58..49ca4767e2 100644 --- a/src/grp-resolve/nss-resolve/nss-resolve.c +++ b/src/grp-resolve/nss-resolve/nss-resolve.c @@ -26,13 +26,13 @@ #include -#include "basic/in-addr-util.h" -#include "basic/macro.h" -#include "basic/nss-util.h" -#include "basic/signal-util.h" -#include "basic/string-util.h" -#include "basic/util.h" #include "sd-bus/bus-common-errors.h" +#include "systemd-basic/in-addr-util.h" +#include "systemd-basic/macro.h" +#include "systemd-basic/nss-util.h" +#include "systemd-basic/signal-util.h" +#include "systemd-basic/string-util.h" +#include "systemd-basic/util.h" NSS_GETHOSTBYNAME_PROTOTYPES(resolve); NSS_GETHOSTBYADDR_PROTOTYPES(resolve); diff --git a/src/grp-resolve/systemd-resolve/resolve-tool.c b/src/grp-resolve/systemd-resolve/resolve-tool.c index 433a103b57..6cdf125ca4 100644 --- a/src/grp-resolve/systemd-resolve/resolve-tool.c +++ b/src/grp-resolve/systemd-resolve/resolve-tool.c @@ -22,21 +22,21 @@ #include -#include "basic/af-list.h" -#include "basic/alloc-util.h" -#include "basic/escape.h" -#include "basic/in-addr-util.h" -#include "basic/parse-util.h" -#include "basic/strv.h" -#include "basic/terminal-util.h" #include "resolved-def.h" #include "resolved-dns-packet.h" #include "sd-bus/bus-error.h" +#include "sd-bus/bus-util.h" #include "sd-netlink/netlink-util.h" -#include "sd-netlink/sd-netlink.h" -#include "shared/bus-util.h" -#include "shared/gcrypt-util.h" -#include "shared/pager.h" +#include "systemd-basic/af-list.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/escape.h" +#include "systemd-basic/in-addr-util.h" +#include "systemd-basic/parse-util.h" +#include "systemd-basic/strv.h" +#include "systemd-basic/terminal-util.h" +#include "systemd-gcrypt/gcrypt-util.h" +#include "systemd-shared/pager.h" +#include "systemd-staging/sd-netlink.h" #define DNS_CALL_TIMEOUT_USEC (45*USEC_PER_SEC) diff --git a/src/grp-resolve/systemd-resolved/resolved-bus.c b/src/grp-resolve/systemd-resolved/resolved-bus.c index 3c2a8b0892..1bef48a040 100644 --- a/src/grp-resolve/systemd-resolved/resolved-bus.c +++ b/src/grp-resolve/systemd-resolved/resolved-bus.c @@ -17,11 +17,11 @@ along with systemd; If not, see . ***/ -#include "basic/alloc-util.h" #include "resolved-def.h" #include "sd-bus/bus-common-errors.h" -#include "shared/bus-util.h" -#include "shared/dns-domain.h" +#include "sd-bus/bus-util.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-shared/dns-domain.h" #include "resolved-bus.h" #include "resolved-dns-synthesize.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-conf.c b/src/grp-resolve/systemd-resolved/resolved-conf.c index c6d70b5938..49667ec128 100644 --- a/src/grp-resolve/systemd-resolved/resolved-conf.c +++ b/src/grp-resolve/systemd-resolved/resolved-conf.c @@ -17,12 +17,12 @@ along with systemd; If not, see . ***/ -#include "basic/alloc-util.h" -#include "basic/def.h" -#include "basic/extract-word.h" -#include "basic/parse-util.h" -#include "basic/string-util.h" -#include "shared/conf-parser.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/def.h" +#include "systemd-basic/extract-word.h" +#include "systemd-basic/parse-util.h" +#include "systemd-basic/string-util.h" +#include "systemd-shared/conf-parser.h" #include "resolved-conf.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-cache.c b/src/grp-resolve/systemd-resolved/resolved-dns-cache.c index 690ed6f0c1..fa4a2a42d1 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-cache.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-cache.c @@ -19,12 +19,12 @@ #include -#include "basic/af-list.h" -#include "basic/alloc-util.h" -#include "basic/string-util.h" #include "resolved-dns-answer.h" #include "resolved-dns-packet.h" -#include "shared/dns-domain.h" +#include "systemd-basic/af-list.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/string-util.h" +#include "systemd-shared/dns-domain.h" #include "resolved-dns-cache.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-cache.h b/src/grp-resolve/systemd-resolved/resolved-dns-cache.h index 7c1581c99b..5c3d850bc8 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-cache.h +++ b/src/grp-resolve/systemd-resolved/resolved-dns-cache.h @@ -19,10 +19,10 @@ along with systemd; If not, see . ***/ -#include "basic/hashmap.h" -#include "basic/list.h" -#include "basic/prioq.h" -#include "basic/time-util.h" +#include "systemd-basic/hashmap.h" +#include "systemd-basic/list.h" +#include "systemd-basic/prioq.h" +#include "systemd-basic/time-util.h" typedef struct DnsCache { Hashmap *by_key; diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-query.c b/src/grp-resolve/systemd-resolved/resolved-dns-query.c index 3a187ee349..5b5cc8b532 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-query.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-query.c @@ -17,12 +17,12 @@ along with systemd; If not, see . ***/ -#include "basic/alloc-util.h" -#include "basic/hostname-util.h" -#include "basic/string-util.h" #include "dns-type.h" #include "sd-netlink/local-addresses.h" -#include "shared/dns-domain.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/hostname-util.h" +#include "systemd-basic/string-util.h" +#include "systemd-shared/dns-domain.h" #include "resolved-dns-query.h" #include "resolved-dns-synthesize.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-query.h b/src/grp-resolve/systemd-resolved/resolved-dns-query.h index a501cb1203..04d3034499 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-query.h +++ b/src/grp-resolve/systemd-resolved/resolved-dns-query.h @@ -22,9 +22,9 @@ #include -#include "basic/set.h" #include "resolved-dns-answer.h" #include "resolved-dns-question.h" +#include "systemd-basic/set.h" typedef struct DnsQuery DnsQuery; typedef struct DnsQueryCandidate DnsQueryCandidate; diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-scope.c b/src/grp-resolve/systemd-resolved/resolved-dns-scope.c index 9da091b5e9..9b7883a410 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-scope.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-scope.c @@ -19,15 +19,15 @@ #include -#include "basic/af-list.h" -#include "basic/alloc-util.h" -#include "basic/fd-util.h" -#include "basic/hostname-util.h" -#include "basic/missing.h" -#include "basic/random-util.h" -#include "basic/socket-util.h" -#include "basic/strv.h" -#include "shared/dns-domain.h" +#include "systemd-basic/af-list.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/fd-util.h" +#include "systemd-basic/hostname-util.h" +#include "systemd-basic/missing.h" +#include "systemd-basic/random-util.h" +#include "systemd-basic/socket-util.h" +#include "systemd-basic/strv.h" +#include "systemd-shared/dns-domain.h" #include "resolved-dns-scope.h" #include "resolved-llmnr.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-scope.h b/src/grp-resolve/systemd-resolved/resolved-dns-scope.h index c4bc95da45..6e7d0e5e79 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-scope.h +++ b/src/grp-resolve/systemd-resolved/resolved-dns-scope.h @@ -19,9 +19,9 @@ along with systemd; If not, see . ***/ -#include "basic/list.h" #include "resolved-dns-dnssec.h" #include "resolved-dns-packet.h" +#include "systemd-basic/list.h" typedef struct DnsScope DnsScope; diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-search-domain.c b/src/grp-resolve/systemd-resolved/resolved-dns-search-domain.c index 7798c498a0..5ddbc7504e 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-search-domain.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-search-domain.c @@ -17,8 +17,8 @@ along with systemd; If not, see . ***/ -#include "basic/alloc-util.h" -#include "shared/dns-domain.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-shared/dns-domain.h" #include "resolved-dns-search-domain.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-search-domain.h b/src/grp-resolve/systemd-resolved/resolved-dns-search-domain.h index f047941db2..53b4f3207a 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-search-domain.h +++ b/src/grp-resolve/systemd-resolved/resolved-dns-search-domain.h @@ -19,7 +19,7 @@ along with systemd; If not, see . ***/ -#include "basic/macro.h" +#include "systemd-basic/macro.h" typedef struct DnsSearchDomain DnsSearchDomain; diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-server.c b/src/grp-resolve/systemd-resolved/resolved-dns-server.c index bc97d89219..2274eedae2 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-server.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-server.c @@ -19,10 +19,10 @@ #include -#include "basic/alloc-util.h" -#include "basic/siphash24.h" -#include "basic/string-table.h" -#include "basic/string-util.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/siphash24.h" +#include "systemd-basic/string-table.h" +#include "systemd-basic/string-util.h" #include "resolved-dns-server.h" #include "resolved-dns-stub.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-server.h b/src/grp-resolve/systemd-resolved/resolved-dns-server.h index e1f0ac5fd9..66acd04085 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-server.h +++ b/src/grp-resolve/systemd-resolved/resolved-dns-server.h @@ -19,7 +19,7 @@ along with systemd; If not, see . ***/ -#include "basic/in-addr-util.h" +#include "systemd-basic/in-addr-util.h" typedef struct DnsServer DnsServer; diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-stream.c b/src/grp-resolve/systemd-resolved/resolved-dns-stream.c index 4ba5b797b7..353d5f7a45 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-stream.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-stream.c @@ -19,10 +19,10 @@ #include -#include "basic/alloc-util.h" -#include "basic/fd-util.h" -#include "basic/io-util.h" -#include "basic/missing.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/fd-util.h" +#include "systemd-basic/io-util.h" +#include "systemd-basic/missing.h" #include "resolved-dns-stream.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-stream.h b/src/grp-resolve/systemd-resolved/resolved-dns-stream.h index 6538da457a..7af574411b 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-stream.h +++ b/src/grp-resolve/systemd-resolved/resolved-dns-stream.h @@ -19,8 +19,8 @@ along with systemd; If not, see . ***/ -#include "basic/socket-util.h" #include "resolved-dns-packet.h" +#include "systemd-basic/socket-util.h" typedef struct DnsStream DnsStream; diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-stub.c b/src/grp-resolve/systemd-resolved/resolved-dns-stub.c index 520a67a7b4..e7aa7a1c38 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-stub.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-stub.c @@ -17,8 +17,8 @@ along with systemd; If not, see . ***/ -#include "basic/fd-util.h" -#include "basic/socket-util.h" +#include "systemd-basic/fd-util.h" +#include "systemd-basic/socket-util.h" #include "resolved-dns-stub.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-synthesize.c b/src/grp-resolve/systemd-resolved/resolved-dns-synthesize.c index 16e0410f98..53d1940d9e 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-synthesize.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-synthesize.c @@ -17,9 +17,9 @@ along with systemd; If not, see . ***/ -#include "basic/alloc-util.h" -#include "basic/hostname-util.h" #include "sd-netlink/local-addresses.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/hostname-util.h" #include "resolved-dns-synthesize.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-transaction.c b/src/grp-resolve/systemd-resolved/resolved-dns-transaction.c index 3cf72e0ff8..a5ae8d0853 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-transaction.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-transaction.c @@ -19,13 +19,13 @@ #include -#include "basic/af-list.h" -#include "basic/alloc-util.h" -#include "basic/errno-list.h" -#include "basic/fd-util.h" -#include "basic/random-util.h" -#include "basic/string-table.h" -#include "shared/dns-domain.h" +#include "systemd-basic/af-list.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/errno-list.h" +#include "systemd-basic/fd-util.h" +#include "systemd-basic/random-util.h" +#include "systemd-basic/string-table.h" +#include "systemd-shared/dns-domain.h" #include "resolved-dns-cache.h" #include "resolved-dns-transaction.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.c b/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.c index c9f221d425..fb0e76b917 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.c @@ -19,18 +19,18 @@ #include -#include "basic/alloc-util.h" -#include "basic/conf-files.h" -#include "basic/def.h" -#include "basic/fd-util.h" -#include "basic/fileio.h" -#include "basic/hexdecoct.h" -#include "basic/parse-util.h" -#include "basic/set.h" -#include "basic/string-util.h" -#include "basic/strv.h" #include "resolved-dns-dnssec.h" -#include "shared/dns-domain.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/conf-files.h" +#include "systemd-basic/def.h" +#include "systemd-basic/fd-util.h" +#include "systemd-basic/fileio.h" +#include "systemd-basic/hexdecoct.h" +#include "systemd-basic/parse-util.h" +#include "systemd-basic/set.h" +#include "systemd-basic/string-util.h" +#include "systemd-basic/strv.h" +#include "systemd-shared/dns-domain.h" #include "resolved-dns-trust-anchor.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.h b/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.h index ee5cda0748..6d1b2d3655 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.h +++ b/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.h @@ -19,9 +19,9 @@ along with systemd; If not, see . ***/ -#include "basic/hashmap.h" #include "resolved-dns-answer.h" #include "resolved-dns-rr.h" +#include "systemd-basic/hashmap.h" typedef struct DnsTrustAnchor DnsTrustAnchor; diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-zone.c b/src/grp-resolve/systemd-resolved/resolved-dns-zone.c index d3ef27fefd..4b6f571447 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-zone.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-zone.c @@ -17,11 +17,11 @@ along with systemd; If not, see . ***/ -#include "basic/alloc-util.h" -#include "basic/list.h" -#include "basic/string-util.h" #include "resolved-dns-packet.h" -#include "shared/dns-domain.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/list.h" +#include "systemd-basic/string-util.h" +#include "systemd-shared/dns-domain.h" #include "resolved-dns-zone.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-zone.h b/src/grp-resolve/systemd-resolved/resolved-dns-zone.h index 789fe24cde..c5ba404cbf 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-zone.h +++ b/src/grp-resolve/systemd-resolved/resolved-dns-zone.h @@ -19,7 +19,7 @@ along with systemd; If not, see . ***/ -#include "basic/hashmap.h" +#include "systemd-basic/hashmap.h" typedef struct DnsZone { Hashmap *by_key; diff --git a/src/grp-resolve/systemd-resolved/resolved-etc-hosts.c b/src/grp-resolve/systemd-resolved/resolved-etc-hosts.c index 2bab6fdc35..942c06605e 100644 --- a/src/grp-resolve/systemd-resolved/resolved-etc-hosts.c +++ b/src/grp-resolve/systemd-resolved/resolved-etc-hosts.c @@ -17,12 +17,12 @@ along with systemd; If not, see . ***/ -#include "basic/fd-util.h" -#include "basic/fileio.h" -#include "basic/hostname-util.h" -#include "basic/string-util.h" -#include "basic/strv.h" -#include "basic/time-util.h" +#include "systemd-basic/fd-util.h" +#include "systemd-basic/fileio.h" +#include "systemd-basic/hostname-util.h" +#include "systemd-basic/string-util.h" +#include "systemd-basic/strv.h" +#include "systemd-basic/time-util.h" #include "resolved-dns-synthesize.h" #include "resolved-etc-hosts.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-gperf.gperf b/src/grp-resolve/systemd-resolved/resolved-gperf.gperf index f3a7c48abc..6f8df3b533 100644 --- a/src/grp-resolve/systemd-resolved/resolved-gperf.gperf +++ b/src/grp-resolve/systemd-resolved/resolved-gperf.gperf @@ -1,7 +1,7 @@ %{ #include -#include "shared/conf-parser.h" +#include "systemd-shared/conf-parser.h" #include "resolved-conf.h" %} diff --git a/src/grp-resolve/systemd-resolved/resolved-link-bus.c b/src/grp-resolve/systemd-resolved/resolved-link-bus.c index 9cbadece42..bea3c35829 100644 --- a/src/grp-resolve/systemd-resolved/resolved-link-bus.c +++ b/src/grp-resolve/systemd-resolved/resolved-link-bus.c @@ -17,12 +17,12 @@ along with systemd; If not, see . ***/ -#include "basic/alloc-util.h" -#include "basic/parse-util.h" -#include "basic/strv.h" #include "sd-bus/bus-common-errors.h" -#include "shared/bus-util.h" -#include "shared/resolve-util.h" +#include "sd-bus/bus-util.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/parse-util.h" +#include "systemd-basic/strv.h" +#include "systemd-shared/resolve-util.h" #include "resolved-bus.h" #include "resolved-link-bus.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-link.c b/src/grp-resolve/systemd-resolved/resolved-link.c index d37ebbc419..ccfcc70d1a 100644 --- a/src/grp-resolve/systemd-resolved/resolved-link.c +++ b/src/grp-resolve/systemd-resolved/resolved-link.c @@ -19,15 +19,15 @@ #include -#include "basic/alloc-util.h" -#include "basic/fd-util.h" -#include "basic/fileio.h" -#include "basic/missing.h" -#include "basic/mkdir.h" -#include "basic/parse-util.h" -#include "basic/string-util.h" -#include "basic/strv.h" -#include "sd-network/sd-network.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/fd-util.h" +#include "systemd-basic/fileio.h" +#include "systemd-basic/missing.h" +#include "systemd-basic/mkdir.h" +#include "systemd-basic/parse-util.h" +#include "systemd-basic/string-util.h" +#include "systemd-basic/strv.h" +#include "systemd-staging/sd-network.h" #include "resolved-link.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-link.h b/src/grp-resolve/systemd-resolved/resolved-link.h index def8b097e4..0d3d54a620 100644 --- a/src/grp-resolve/systemd-resolved/resolved-link.h +++ b/src/grp-resolve/systemd-resolved/resolved-link.h @@ -21,10 +21,10 @@ #include -#include "basic/in-addr-util.h" -#include "basic/ratelimit.h" #include "resolved-dns-rr.h" -#include "shared/resolve-util.h" +#include "systemd-basic/in-addr-util.h" +#include "systemd-basic/ratelimit.h" +#include "systemd-shared/resolve-util.h" typedef struct Link Link; typedef struct LinkAddress LinkAddress; diff --git a/src/grp-resolve/systemd-resolved/resolved-llmnr.c b/src/grp-resolve/systemd-resolved/resolved-llmnr.c index 1092b8b659..2a22f20790 100644 --- a/src/grp-resolve/systemd-resolved/resolved-llmnr.c +++ b/src/grp-resolve/systemd-resolved/resolved-llmnr.c @@ -20,7 +20,7 @@ #include #include -#include "basic/fd-util.h" +#include "systemd-basic/fd-util.h" #include "resolved-llmnr.h" #include "resolved-manager.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-manager.c b/src/grp-resolve/systemd-resolved/resolved-manager.c index 0fff82bd98..a7a2916ce9 100644 --- a/src/grp-resolve/systemd-resolved/resolved-manager.c +++ b/src/grp-resolve/systemd-resolved/resolved-manager.c @@ -21,22 +21,22 @@ #include #include -#include "basic/af-list.h" -#include "basic/alloc-util.h" -#include "basic/dirent-util.h" -#include "basic/fd-util.h" -#include "basic/fileio-label.h" -#include "basic/hostname-util.h" -#include "basic/io-util.h" -#include "basic/ordered-set.h" -#include "basic/parse-util.h" -#include "basic/random-util.h" -#include "basic/socket-util.h" -#include "basic/string-table.h" -#include "basic/string-util.h" -#include "basic/utf8.h" -#include "shared/dns-domain.h" +#include "systemd-basic/af-list.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/dirent-util.h" +#include "systemd-basic/fd-util.h" +#include "systemd-basic/fileio-label.h" +#include "systemd-basic/hostname-util.h" +#include "systemd-basic/io-util.h" +#include "systemd-basic/ordered-set.h" +#include "systemd-basic/parse-util.h" +#include "systemd-basic/random-util.h" +#include "systemd-basic/socket-util.h" +#include "systemd-basic/string-table.h" +#include "systemd-basic/string-util.h" +#include "systemd-basic/utf8.h" #include "systemd-network/network-internal.h" +#include "systemd-shared/dns-domain.h" #include "resolved-bus.h" #include "resolved-conf.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-manager.h b/src/grp-resolve/systemd-resolved/resolved-manager.h index 6c5274ce56..2e187efeb5 100644 --- a/src/grp-resolve/systemd-resolved/resolved-manager.h +++ b/src/grp-resolve/systemd-resolved/resolved-manager.h @@ -21,12 +21,12 @@ #include -#include "basic/hashmap.h" -#include "basic/list.h" -#include "basic/ordered-set.h" -#include "sd-netlink/sd-netlink.h" -#include "sd-network/sd-network.h" -#include "shared/resolve-util.h" +#include "systemd-basic/hashmap.h" +#include "systemd-basic/list.h" +#include "systemd-basic/ordered-set.h" +#include "systemd-shared/resolve-util.h" +#include "systemd-staging/sd-netlink.h" +#include "systemd-staging/sd-network.h" typedef struct Manager Manager; diff --git a/src/grp-resolve/systemd-resolved/resolved-mdns.c b/src/grp-resolve/systemd-resolved/resolved-mdns.c index 0c78f7bda5..f810019763 100644 --- a/src/grp-resolve/systemd-resolved/resolved-mdns.c +++ b/src/grp-resolve/systemd-resolved/resolved-mdns.c @@ -21,7 +21,7 @@ #include #include -#include "basic/fd-util.h" +#include "systemd-basic/fd-util.h" #include "resolved-manager.h" #include "resolved-mdns.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-resolv-conf.c b/src/grp-resolve/systemd-resolved/resolved-resolv-conf.c index 5d6b4203bc..01b6481016 100644 --- a/src/grp-resolve/systemd-resolved/resolved-resolv-conf.c +++ b/src/grp-resolve/systemd-resolved/resolved-resolv-conf.c @@ -19,14 +19,14 @@ #include -#include "basic/alloc-util.h" -#include "basic/fd-util.h" -#include "basic/fileio-label.h" -#include "basic/fileio.h" -#include "basic/ordered-set.h" -#include "basic/string-util.h" -#include "basic/strv.h" -#include "shared/dns-domain.h" +#include "systemd-basic/alloc-util.h" +#include "systemd-basic/fd-util.h" +#include "systemd-basic/fileio-label.h" +#include "systemd-basic/fileio.h" +#include "systemd-basic/ordered-set.h" +#include "systemd-basic/string-util.h" +#include "systemd-basic/strv.h" +#include "systemd-shared/dns-domain.h" #include "resolved-conf.h" #include "resolved-resolv-conf.h" diff --git a/src/grp-resolve/systemd-resolved/resolved.c b/src/grp-resolve/systemd-resolved/resolved.c index 39fa423eeb..7fe9b7edbb 100644 --- a/src/grp-resolve/systemd-resolved/resolved.c +++ b/src/grp-resolve/systemd-resolved/resolved.c @@ -20,11 +20,11 @@ #include #include -#include "basic/capability-util.h" -#include "basic/mkdir.h" -#include "basic/selinux-util.h" -#include "basic/signal-util.h" -#include "basic/user-util.h" +#include "systemd-basic/capability-util.h" +#include "systemd-basic/mkdir.h" +#include "systemd-basic/selinux-util.h" +#include "systemd-basic/signal-util.h" +#include "systemd-basic/user-util.h" #include "resolved-conf.h" #include "resolved-manager.h" -- cgit v1.2.3-54-g00ecf