From ea5f7bbd32c0943bb7ab52331ab524ec40a86ec7 Mon Sep 17 00:00:00 2001 From: venaas Date: Mon, 26 Jan 2009 10:49:17 +0000 Subject: 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 --- resolve.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 resolve.h (limited to 'resolve.h') 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 + * + * 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; +}; -- cgit v1.1