summaryrefslogtreecommitdiffstats
path: root/lib/fopen.h
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@lists.haxx.se>2022-10-26 06:12:46 (GMT)
committerBrad King <brad.king@kitware.com>2022-10-31 20:11:01 (GMT)
commitec122fff08ab9a8e56fb90126ecedb99c759011b (patch)
tree372b5f86f3fad307de965e11187e51ef0860960b /lib/fopen.h
parent9d8f81f4f8ac4a234ced9c446958fdfcaed4faa3 (diff)
downloadCMake-ec122fff08ab9a8e56fb90126ecedb99c759011b.zip
CMake-ec122fff08ab9a8e56fb90126ecedb99c759011b.tar.gz
CMake-ec122fff08ab9a8e56fb90126ecedb99c759011b.tar.bz2
curl 2022-10-26 (cd95ee9f)
Code extracted from: https://github.com/curl/curl.git at commit cd95ee9f771361acf241629d2fe5507e308082a2 (curl-7_86_0).
Diffstat (limited to 'lib/fopen.h')
-rw-r--r--lib/fopen.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/fopen.h b/lib/fopen.h
new file mode 100644
index 0000000..289e55f
--- /dev/null
+++ b/lib/fopen.h
@@ -0,0 +1,30 @@
+#ifndef HEADER_CURL_FOPEN_H
+#define HEADER_CURL_FOPEN_H
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * 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 https://curl.se/docs/copyright.html.
+ *
+ * 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.
+ *
+ * SPDX-License-Identifier: curl
+ *
+ ***************************************************************************/
+
+CURLcode Curl_fopen(struct Curl_easy *data, const char *filename,
+ FILE **fh, char **tempname);
+
+#endif