summaryrefslogtreecommitdiff
path: root/resolve.h
diff options
context:
space:
mode:
Diffstat (limited to 'resolve.h')
-rw-r--r--resolve.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/resolve.h b/resolve.h
new file mode 100644
index 0000000..fdb83b9
--- /dev/null
+++ b/resolve.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2006-2009 Stig Venaas <venaas@uninett.no>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ */
+
+struct hostportres {
+ char *host;
+ char *port;
+ uint8_t prefixlen;
+ struct addrinfo *addrinfo;
+};