summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-llmnr.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-07-10 15:02:38 -0400
committerDaniel Mack <daniel@zonque.org>2015-07-13 11:28:29 -0400
commit5f402ae84bbc08fe8de5682e371b3f66c387da52 (patch)
tree9b6a1c867bc42dd2be45fe87c4706c39a84997dd /src/resolve/resolved-llmnr.h
parentf7c735017e97652f8ed76af2298bea23a80ac762 (diff)
resolved: move LLMNR related functions into separate file
Diffstat (limited to 'src/resolve/resolved-llmnr.h')
-rw-r--r--src/resolve/resolved-llmnr.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/resolve/resolved-llmnr.h b/src/resolve/resolved-llmnr.h
new file mode 100644
index 0000000000..640644000a
--- /dev/null
+++ b/src/resolve/resolved-llmnr.h
@@ -0,0 +1,32 @@
+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
+
+#pragma once
+
+/***
+ This file is part of systemd.
+
+ Copyright 2014 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-manager.h"
+
+int manager_llmnr_ipv4_udp_fd(Manager *m);
+int manager_llmnr_ipv6_udp_fd(Manager *m);
+int manager_llmnr_ipv4_tcp_fd(Manager *m);
+int manager_llmnr_ipv6_tcp_fd(Manager *m);
+
+void manager_llmnr_stop(Manager *m);
+int manager_llmnr_start(Manager *m);