3 /*****************************************************************************
5 * Project ___| | | | _ \| |
7 * | (__| |_| | _ <| |___
8 * \___|\___/|_| \_\_____|
10 * Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
12 * In order to be useful for every potential user, curl and libcurl are
13 * dual-licensed under the MPL and the MIT/X-derivate licenses.
15 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
16 * copies of the Software, and permit persons to whom the Software is
17 * furnished to do so, under the terms of the MPL or the MIT/X-derivate
18 * licenses. You may pick one of these licenses.
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
24 *****************************************************************************/
31 Curl_addrinfo *Curl_getaddrinfo(struct SessionHandle *data,
36 void Curl_freeaddrinfo(void *freethis);
39 void curl_freeaddrinfo(struct addrinfo *freethis,
40 int line, const char *source);
41 int curl_getaddrinfo(char *hostname, char *service,
42 struct addrinfo *hints,
43 struct addrinfo **result,
44 int line, const char *source);