summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-varlink.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-08-16 13:45:55 +0200
committerLennart Poettering <lennart@poettering.net>2020-08-26 16:48:06 +0200
commit9581bb842470ac4dee7d230e5beef5d3003ab105 (patch)
tree0c105740a4e33c5bdc05202be1813731bcd1d2c3 /src/resolve/resolved-varlink.h
parentc17b5ce7390fada5c95e98fa491bd4fe9f71d102 (diff)
downloadsystemd-9581bb842470ac4dee7d230e5beef5d3003ab105.tar.gz
resolved: add minimal varlink api for resolving hostnames/addresses
This allows us to later port nss-resolve to use Varlink rather than D-Bus for resolution. This has the benefit that nss-resolve based resoluton works even without D-Bus being up. And it's faster too.
Diffstat (limited to 'src/resolve/resolved-varlink.h')
-rw-r--r--src/resolve/resolved-varlink.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resolve/resolved-varlink.h b/src/resolve/resolved-varlink.h
new file mode 100644
index 0000000000..cfb90e5e5e
--- /dev/null
+++ b/src/resolve/resolved-varlink.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
+#include "resolved-manager.h"
+
+int manager_varlink_init(Manager *m);
+void manager_varlink_done(Manager *m);