diff options
Diffstat (limited to 'hostport.h')
-rw-r--r-- | hostport.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -6,12 +6,7 @@ * copyright notice and this permission notice appear in all copies. */ -struct hostportres { - char *host; - char *port; - uint8_t prefixlen; - struct addrinfo *addrinfo; -}; +#include "hostport_types.h" struct hostportres *newhostport(char *hostport, char *default_port, uint8_t prefixok); int addhostport(struct list **hostports, char **hostport, char *portdefault, uint8_t prefixok); |