-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
149 changed files
with
17,163 additions
and
7,434 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* | (__| |_| | _ <| |___ | ||
* \___|\___/|_| \_\_____| | ||
* | ||
* Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, et al. | ||
* Copyright (C) Daniel Stenberg, <[email protected]>, et al. | ||
* | ||
* This software is licensed as described in the file COPYING, which | ||
* you should have received as part of this distribution. The terms | ||
|
@@ -28,17 +28,17 @@ | |
a script at release-time. This was made its own header file in 7.11.2 */ | ||
|
||
/* This is the global package copyright */ | ||
#define LIBCURL_COPYRIGHT "1996 - 2022 Daniel Stenberg, <[email protected]>." | ||
#define LIBCURL_COPYRIGHT "Daniel Stenberg, <[email protected]>." | ||
|
||
/* This is the version number of the libcurl package from which this header | ||
file origins: */ | ||
#define LIBCURL_VERSION "7.84.0" | ||
#define LIBCURL_VERSION "8.1.2" | ||
|
||
/* The numeric version number is also available "in parts" by using these | ||
defines: */ | ||
#define LIBCURL_VERSION_MAJOR 7 | ||
#define LIBCURL_VERSION_MINOR 84 | ||
#define LIBCURL_VERSION_PATCH 0 | ||
#define LIBCURL_VERSION_MAJOR 8 | ||
#define LIBCURL_VERSION_MINOR 1 | ||
#define LIBCURL_VERSION_PATCH 2 | ||
|
||
/* This is the numeric version of the libcurl version number, meant for easier | ||
parsing and comparisons by programs. The LIBCURL_VERSION_NUM define will | ||
|
@@ -59,7 +59,7 @@ | |
CURL_VERSION_BITS() macro since curl's own configure script greps for it | ||
and needs it to contain the full number. | ||
*/ | ||
#define LIBCURL_VERSION_NUM 0x075400 | ||
#define LIBCURL_VERSION_NUM 0x080102 | ||
|
||
/* | ||
* This is the date and time when the full source package was created. The | ||
|
@@ -70,7 +70,7 @@ | |
* | ||
* "2007-11-23" | ||
*/ | ||
#define LIBCURL_TIMESTAMP "2022-06-27" | ||
#define LIBCURL_TIMESTAMP "2023-05-30" | ||
|
||
#define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|(z)) | ||
#define CURL_AT_LEAST_VERSION(x,y,z) \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* | (__| |_| | _ <| |___ | ||
* \___|\___/|_| \_\_____| | ||
* | ||
* Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, et al. | ||
* Copyright (C) Daniel Stenberg, <[email protected]>, et al. | ||
* | ||
* This software is licensed as described in the file COPYING, which | ||
* you should have received as part of this distribution. The terms | ||
|
@@ -48,13 +48,13 @@ CURL_EXTERN void curl_easy_cleanup(CURL *curl); | |
* | ||
* DESCRIPTION | ||
* | ||
* Request internal information from the curl session with this function. The | ||
* third argument MUST be a pointer to a long, a pointer to a char * or a | ||
* pointer to a double (as the documentation describes elsewhere). The data | ||
* pointed to will be filled in accordingly and can be relied upon only if the | ||
* function returns CURLE_OK. This function is intended to get used *AFTER* a | ||
* performed transfer, all results from this function are undefined until the | ||
* transfer is completed. | ||
* Request internal information from the curl session with this function. | ||
* The third argument MUST be pointing to the specific type of the used option | ||
* which is documented in each man page of the option. The data pointed to | ||
* will be filled in accordingly and can be relied upon only if the function | ||
* returns CURLE_OK. This function is intended to get used *AFTER* a performed | ||
* transfer, all results from this function are undefined until the transfer | ||
* is completed. | ||
*/ | ||
CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...); | ||
|
||
|
@@ -119,7 +119,7 @@ CURL_EXTERN CURLcode curl_easy_send(CURL *curl, const void *buffer, | |
CURL_EXTERN CURLcode curl_easy_upkeep(CURL *curl); | ||
|
||
#ifdef __cplusplus | ||
} | ||
} /* end of extern "C" */ | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* | (__| |_| | _ <| |___ | ||
* \___|\___/|_| \_\_____| | ||
* | ||
* Copyright (C) 2018 - 2022, Daniel Stenberg, <[email protected]>, et al. | ||
* Copyright (C) Daniel Stenberg, <[email protected]>, et al. | ||
* | ||
* This software is licensed as described in the file COPYING, which | ||
* you should have received as part of this distribution. The terms | ||
|
@@ -24,6 +24,10 @@ | |
* | ||
***************************************************************************/ | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
struct curl_header { | ||
char *name; /* this might not use the same case */ | ||
char *value; | ||
|
@@ -63,4 +67,8 @@ CURL_EXTERN struct curl_header *curl_easy_nextheader(CURL *easy, | |
int request, | ||
struct curl_header *prev); | ||
|
||
#ifdef __cplusplus | ||
} /* end of extern "C" */ | ||
#endif | ||
|
||
#endif /* CURLINC_HEADER_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* | (__| |_| | _ <| |___ | ||
* \___|\___/|_| \_\_____| | ||
* | ||
* Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, et al. | ||
* Copyright (C) Daniel Stenberg, <[email protected]>, et al. | ||
* | ||
* This software is licensed as described in the file COPYING, which | ||
* you should have received as part of this distribution. The terms | ||
|
@@ -46,7 +46,7 @@ CURL_EXTERN char *curl_maprintf(const char *format, ...); | |
CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args); | ||
|
||
#ifdef __cplusplus | ||
} | ||
} /* end of extern "C" */ | ||
#endif | ||
|
||
#endif /* CURLINC_MPRINTF_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* | (__| |_| | _ <| |___ | ||
* \___|\___/|_| \_\_____| | ||
* | ||
* Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, et al. | ||
* Copyright (C) Daniel Stenberg, <[email protected]>, et al. | ||
* | ||
* This software is licensed as described in the file COPYING, which | ||
* you should have received as part of this distribution. The terms | ||
|
@@ -124,7 +124,7 @@ struct curl_waitfd { | |
/* | ||
* Name: curl_multi_init() | ||
* | ||
* Desc: inititalize multi-style curl usage | ||
* Desc: initialize multi-style curl usage | ||
* | ||
* Returns: a new CURLM handle to use in all 'curl_multi' functions. | ||
*/ | ||
|
@@ -318,16 +318,16 @@ typedef int (*curl_multi_timer_callback)(CURLM *multi, /* multi handle */ | |
void *userp); /* private callback | ||
pointer */ | ||
|
||
CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s, | ||
int *running_handles); | ||
CURL_EXTERN CURLMcode CURL_DEPRECATED(7.19.5, "Use curl_multi_socket_action()") | ||
curl_multi_socket(CURLM *multi_handle, curl_socket_t s, int *running_handles); | ||
|
||
CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle, | ||
curl_socket_t s, | ||
int ev_bitmask, | ||
int *running_handles); | ||
|
||
CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle, | ||
int *running_handles); | ||
CURL_EXTERN CURLMcode CURL_DEPRECATED(7.19.5, "Use curl_multi_socket_action()") | ||
curl_multi_socket_all(CURLM *multi_handle, int *running_handles); | ||
|
||
#ifndef CURL_ALLOW_OLD_MULTI_SOCKET | ||
/* This macro below was added in 7.16.3 to push users who recompile to use | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* | (__| |_| | _ <| |___ | ||
* \___|\___/|_| \_\_____| | ||
* | ||
* Copyright (C) 2018 - 2022, Daniel Stenberg, <[email protected]>, et al. | ||
* Copyright (C) Daniel Stenberg, <[email protected]>, et al. | ||
* | ||
* This software is licensed as described in the file COPYING, which | ||
* you should have received as part of this distribution. The terms | ||
|
@@ -33,7 +33,7 @@ typedef enum { | |
CURLOT_VALUES, /* (a defined set or bitmask) */ | ||
CURLOT_OFF_T, /* curl_off_t (a range of values) */ | ||
CURLOT_OBJECT, /* pointer (void *) */ | ||
CURLOT_STRING, /* (char * to zero terminated buffer) */ | ||
CURLOT_STRING, /* (char * to null-terminated buffer) */ | ||
CURLOT_SLIST, /* (struct curl_slist *) */ | ||
CURLOT_CBPTR, /* (void * passed as-is to a callback) */ | ||
CURLOT_BLOB, /* blob (struct curl_blob *) */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* | (__| |_| | _ <| |___ | ||
* \___|\___/|_| \_\_____| | ||
* | ||
* Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, et al. | ||
* Copyright (C) Daniel Stenberg, <[email protected]>, et al. | ||
* | ||
* This software is licensed as described in the file COPYING, which | ||
* you should have received as part of this distribution. The terms | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* | (__| |_| | _ <| |___ | ||
* \___|\___/|_| \_\_____| | ||
* | ||
* Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, et al. | ||
* Copyright (C) Daniel Stenberg, <[email protected]>, et al. | ||
* | ||
* This software is licensed as described in the file COPYING, which | ||
* you should have received as part of this distribution. The terms | ||
|
@@ -164,13 +164,33 @@ | |
# endif | ||
# define CURL_TYPEOF_CURL_SOCKLEN_T unsigned int | ||
|
||
#elif defined(__MWERKS__) | ||
#elif defined(macintosh) | ||
# include <ConditionalMacros.h> | ||
# if TYPE_LONGLONG | ||
# define CURL_TYPEOF_CURL_OFF_T long long | ||
# define CURL_FORMAT_CURL_OFF_T "lld" | ||
# define CURL_FORMAT_CURL_OFF_TU "llu" | ||
# define CURL_SUFFIX_CURL_OFF_T LL | ||
# define CURL_SUFFIX_CURL_OFF_TU ULL | ||
# else | ||
# define CURL_TYPEOF_CURL_OFF_T long | ||
# define CURL_FORMAT_CURL_OFF_T "ld" | ||
# define CURL_FORMAT_CURL_OFF_TU "lu" | ||
# define CURL_SUFFIX_CURL_OFF_T L | ||
# define CURL_SUFFIX_CURL_OFF_TU UL | ||
# endif | ||
# define CURL_TYPEOF_CURL_SOCKLEN_T unsigned int | ||
|
||
#elif defined(__TANDEM) | ||
# if ! defined(__LP64) | ||
/* Required for 32-bit NonStop builds only. */ | ||
# define CURL_TYPEOF_CURL_OFF_T long long | ||
# define CURL_FORMAT_CURL_OFF_T "lld" | ||
# define CURL_FORMAT_CURL_OFF_TU "llu" | ||
# define CURL_SUFFIX_CURL_OFF_T LL | ||
# define CURL_SUFFIX_CURL_OFF_TU ULL | ||
# define CURL_TYPEOF_CURL_SOCKLEN_T int | ||
# endif | ||
|
||
#elif defined(_WIN32_WCE) | ||
# define CURL_TYPEOF_CURL_OFF_T __int64 | ||
|
@@ -207,16 +227,14 @@ | |
# define CURL_TYPEOF_CURL_SOCKLEN_T unsigned int | ||
|
||
#elif defined(__OS400__) | ||
# if defined(__ILEC400__) | ||
# define CURL_TYPEOF_CURL_OFF_T long long | ||
# define CURL_FORMAT_CURL_OFF_T "lld" | ||
# define CURL_FORMAT_CURL_OFF_TU "llu" | ||
# define CURL_SUFFIX_CURL_OFF_T LL | ||
# define CURL_SUFFIX_CURL_OFF_TU ULL | ||
# define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | ||
# define CURL_PULL_SYS_TYPES_H 1 | ||
# define CURL_PULL_SYS_SOCKET_H 1 | ||
# endif | ||
# define CURL_TYPEOF_CURL_OFF_T long long | ||
# define CURL_FORMAT_CURL_OFF_T "lld" | ||
# define CURL_FORMAT_CURL_OFF_TU "llu" | ||
# define CURL_SUFFIX_CURL_OFF_T LL | ||
# define CURL_SUFFIX_CURL_OFF_TU ULL | ||
# define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | ||
# define CURL_PULL_SYS_TYPES_H 1 | ||
# define CURL_PULL_SYS_SOCKET_H 1 | ||
|
||
#elif defined(__MVS__) | ||
# if defined(__IBMC__) || defined(__IBMCPP__) | ||
|
Oops, something went wrong.