diff options
author | venaas <venaas> | 2009-01-26 10:49:17 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2009-01-26 10:49:17 +0000 |
commit | ea5f7bbd32c0943bb7ab52331ab524ec40a86ec7 (patch) | |
tree | 1fd2214cc26037337e620db419149711807090db /resolve.h | |
parent | 64dad5a7723089248b12b98cb2cd2ab0c4a68cd3 (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.h | 14 |
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; +}; |