summaryrefslogtreecommitdiff
path: root/llmnr.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-02-18 17:54:50 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-02-18 17:54:50 +0100
commita8f51c2e2c94387e7dcd95dcb12371b7253847f8 (patch)
tree0ddc3891823e2be8c293420ad72b144cf6223ba6 /llmnr.h
parente6e971ba1b23bb67b43a909b486cbad5c6e96e06 (diff)
llmnrd: Add IPv6 support
Closes #5 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'llmnr.h')
-rw-r--r--llmnr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llmnr.h b/llmnr.h
index cc515f1..da86440 100644
--- a/llmnr.h
+++ b/llmnr.h
@@ -19,9 +19,10 @@
#ifndef LLMNR_H
#define LLMNR_H
+#include <stdbool.h>
#include <stdint.h>
-int llmnr_init(const char *hostname, uint16_t port);
+int llmnr_init(const char *hostname, uint16_t port, bool ipv6);
int llmnr_run(void);
void llmnr_stop(void);