summaryrefslogtreecommitdiff
path: root/resolve.h
diff options
context:
space:
mode:
authorvenaas <venaas>2009-01-26 10:49:17 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2009-01-26 10:49:17 +0000
commitea5f7bbd32c0943bb7ab52331ab524ec40a86ec7 (patch)
tree1fd2214cc26037337e620db419149711807090db /resolve.h
parent64dad5a7723089248b12b98cb2cd2ab0c4a68cd3 (diff)
new code for handling parsing and resolving etc of host, port and prefixes
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@459 e88ac4ed-0b26-0410-9574-a7f39faa03bf
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;
+};