summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-synthesize.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-20 22:06:26 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-25 15:59:40 +0100
commit839a4a20d8b4f6ebf3a342fd05c821358be5a313 (patch)
tree98a242768ad282c69c7c07327f533792508b93da /src/resolve/resolved-dns-synthesize.h
parentd07b43a18e2234e8abebc1cd4d93bfd78ab62001 (diff)
resolved: split out RR synthesis logic into its own C file
Also, while we are at it, set the "authenticated" bit for everything we synthesize
Diffstat (limited to 'src/resolve/resolved-dns-synthesize.h')
-rw-r--r--src/resolve/resolved-dns-synthesize.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-synthesize.h b/src/resolve/resolved-dns-synthesize.h
new file mode 100644
index 0000000000..e43d96cb2c
--- /dev/null
+++ b/src/resolve/resolved-dns-synthesize.h
@@ -0,0 +1,26 @@
+#pragma once
+
+/***
+ This file is part of systemd.
+
+ Copyright 2016 Lennart Poettering
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ systemd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
+#include "resolved-dns-answer.h"
+#include "resolved-dns-question.h"
+#include "resolved-manager.h"
+
+int dns_synthesize_answer(Manager *m, DnsQuestion *q, int ifindex, uint64_t flags, DnsAnswer **ret, DnsProtocol *ret_protocol, int *ret_family);