Added protos for the upcoming curl_*_strerror() functions
This commit is contained in:
Родитель
dc9d0f256d
Коммит
eab8cdc640
|
@ -1066,7 +1066,6 @@ void curl_slist_free_all(struct curl_slist *);
|
||||||
*/
|
*/
|
||||||
time_t curl_getdate(const char *p, const time_t *now);
|
time_t curl_getdate(const char *p, const time_t *now);
|
||||||
|
|
||||||
|
|
||||||
#define CURLINFO_STRING 0x100000
|
#define CURLINFO_STRING 0x100000
|
||||||
#define CURLINFO_LONG 0x200000
|
#define CURLINFO_LONG 0x200000
|
||||||
#define CURLINFO_DOUBLE 0x300000
|
#define CURLINFO_DOUBLE 0x300000
|
||||||
|
@ -1242,6 +1241,28 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
curl_version_info_data *curl_version_info(CURLversion);
|
curl_version_info_data *curl_version_info(CURLversion);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* NAME curl_easy_strerror()
|
||||||
|
*
|
||||||
|
* DESCRIPTION
|
||||||
|
*
|
||||||
|
* The curl_easy_strerror function may be used to turn a CURLcode value
|
||||||
|
* into the equivalent human readable error string. This is useful
|
||||||
|
* for printing meaningful error messages.
|
||||||
|
*/
|
||||||
|
const char *curl_easy_strerror(CURLcode);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* NAME curl_share_strerror()
|
||||||
|
*
|
||||||
|
* DESCRIPTION
|
||||||
|
*
|
||||||
|
* The curl_share_strerror function may be used to turn a CURLSHcode value
|
||||||
|
* into the equivalent human readable error string. This is useful
|
||||||
|
* for printing meaningful error messages.
|
||||||
|
*/
|
||||||
|
const char *curl_share_strerror(CURLSHcode);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -203,6 +203,17 @@ CURLMcode curl_multi_cleanup(CURLM *multi_handle);
|
||||||
CURLMsg *curl_multi_info_read(CURLM *multi_handle,
|
CURLMsg *curl_multi_info_read(CURLM *multi_handle,
|
||||||
int *msgs_in_queue);
|
int *msgs_in_queue);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* NAME curl_multi_strerror()
|
||||||
|
*
|
||||||
|
* DESCRIPTION
|
||||||
|
*
|
||||||
|
* The curl_multi_strerror function may be used to turn a CURLMcode value
|
||||||
|
* into the equivalent human readable error string. This is useful
|
||||||
|
* for printing meaningful error messages.
|
||||||
|
*/
|
||||||
|
const char *curl_multi_strerror(CURLMcode);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* end of extern "C" */
|
} /* end of extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче