2012-04-07 05:35:15 +08:00
|
|
|
#ifndef HEADER_CURL_AMIGAOS_H
|
|
|
|
#define HEADER_CURL_AMIGAOS_H
|
2003-12-10 21:53:35 +08:00
|
|
|
/***************************************************************************
|
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2023-01-02 20:51:48 +08:00
|
|
|
* Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2003-12-10 21:53:35 +08:00
|
|
|
*
|
|
|
|
* This software is licensed as described in the file COPYING, which
|
|
|
|
* you should have received as part of this distribution. The terms
|
2020-11-04 21:02:01 +08:00
|
|
|
* are also available at https://curl.se/docs/copyright.html.
|
2003-12-10 21:53:35 +08: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.
|
|
|
|
*
|
2022-05-17 17:16:50 +08:00
|
|
|
* SPDX-License-Identifier: curl
|
|
|
|
*
|
2003-12-10 21:53:35 +08:00
|
|
|
***************************************************************************/
|
2013-01-07 02:06:49 +08:00
|
|
|
#include "curl_setup.h"
|
2003-12-10 21:53:35 +08:00
|
|
|
|
2022-08-07 21:42:19 +08:00
|
|
|
#if defined(__AMIGA__) && defined(HAVE_PROTO_BSDSOCKET_H) && \
|
|
|
|
(!defined(USE_AMISSL) || defined(__amigaos4__))
|
2003-12-10 21:53:35 +08:00
|
|
|
|
2022-08-07 21:42:19 +08:00
|
|
|
CURLcode Curl_amiga_init(void);
|
|
|
|
void Curl_amiga_cleanup(void);
|
2003-12-10 21:53:35 +08:00
|
|
|
|
2012-04-07 05:35:15 +08:00
|
|
|
#else
|
2003-12-10 21:53:35 +08:00
|
|
|
|
2022-08-07 21:42:19 +08:00
|
|
|
#define Curl_amiga_init() CURLE_OK
|
2012-04-07 05:35:15 +08:00
|
|
|
#define Curl_amiga_cleanup() Curl_nop_stmt
|
2003-12-10 21:53:35 +08:00
|
|
|
|
2005-07-14 02:06:40 +08:00
|
|
|
#endif
|
2003-12-10 21:53:35 +08:00
|
|
|
|
2012-04-07 05:35:15 +08:00
|
|
|
#endif /* HEADER_CURL_AMIGAOS_H */
|