curl.h: name all public function parameters
Most public function parameters already have names; this adds those that were missing. Closes #10036
This commit is contained in:
Родитель
8fd218408d
Коммит
d502270eb2
|
@ -2772,8 +2772,8 @@ CURL_EXTERN CURLsslset curl_global_sslset(curl_sslbackend id, const char *name,
|
||||||
* Appends a string to a linked list. If no list exists, it will be created
|
* Appends a string to a linked list. If no list exists, it will be created
|
||||||
* first. Returns the new list, after appending.
|
* first. Returns the new list, after appending.
|
||||||
*/
|
*/
|
||||||
CURL_EXTERN struct curl_slist *curl_slist_append(struct curl_slist *,
|
CURL_EXTERN struct curl_slist *curl_slist_append(struct curl_slist *list,
|
||||||
const char *);
|
const char *data);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NAME curl_slist_free_all()
|
* NAME curl_slist_free_all()
|
||||||
|
@ -2782,7 +2782,7 @@ CURL_EXTERN struct curl_slist *curl_slist_append(struct curl_slist *,
|
||||||
*
|
*
|
||||||
* free a previously built curl_slist.
|
* free a previously built curl_slist.
|
||||||
*/
|
*/
|
||||||
CURL_EXTERN void curl_slist_free_all(struct curl_slist *);
|
CURL_EXTERN void curl_slist_free_all(struct curl_slist *list);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NAME curl_getdate()
|
* NAME curl_getdate()
|
||||||
|
@ -2995,8 +2995,9 @@ typedef enum {
|
||||||
} CURLSHoption;
|
} CURLSHoption;
|
||||||
|
|
||||||
CURL_EXTERN CURLSH *curl_share_init(void);
|
CURL_EXTERN CURLSH *curl_share_init(void);
|
||||||
CURL_EXTERN CURLSHcode curl_share_setopt(CURLSH *, CURLSHoption option, ...);
|
CURL_EXTERN CURLSHcode curl_share_setopt(CURLSH *share, CURLSHoption option,
|
||||||
CURL_EXTERN CURLSHcode curl_share_cleanup(CURLSH *);
|
...);
|
||||||
|
CURL_EXTERN CURLSHcode curl_share_cleanup(CURLSH *share);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Structures for querying information about the curl library at runtime.
|
* Structures for querying information about the curl library at runtime.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче