2012-12-28 15:03:09 +04:00
|
|
|
#ifndef HEADER_CURL_INET_PTON_H
|
|
|
|
#define HEADER_CURL_INET_PTON_H
|
2003-10-08 01:46:47 +04:00
|
|
|
/***************************************************************************
|
2005-03-17 01:01:39 +03:00
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
2003-10-08 01:46:47 +04:00
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2005-03-31 11:02:02 +04:00
|
|
|
* Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2003-10-08 01:46:47 +04:00
|
|
|
*
|
|
|
|
* This software is licensed as described in the file COPYING, which
|
|
|
|
* you should have received as part of this distribution. The terms
|
|
|
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
2005-03-17 01:01:39 +03:00
|
|
|
*
|
2003-10-08 01:46:47 +04:00
|
|
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
* copies of the Software, and permit persons to whom the Software is
|
|
|
|
* furnished to do so, under the terms of the COPYING file.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
***************************************************************************/
|
|
|
|
|
2013-01-04 05:50:28 +04:00
|
|
|
#include "setup.h"
|
2003-10-08 01:46:47 +04:00
|
|
|
|
2005-11-26 01:20:02 +03:00
|
|
|
int Curl_inet_pton(int, const char *, void *);
|
|
|
|
|
2003-10-08 01:46:47 +04:00
|
|
|
#ifdef HAVE_INET_PTON
|
2003-10-08 17:07:08 +04:00
|
|
|
#ifdef HAVE_ARPA_INET_H
|
|
|
|
#include <arpa/inet.h>
|
|
|
|
#endif
|
2005-11-26 01:20:02 +03:00
|
|
|
#define Curl_inet_pton(x,y,z) inet_pton(x,y,z)
|
2003-10-08 01:46:47 +04:00
|
|
|
#endif
|
|
|
|
|
2012-12-28 15:03:09 +04:00
|
|
|
#endif /* HEADER_CURL_INET_PTON_H */
|
|
|
|
|