mirror of
https://github.com/curl/curl.git
synced 2026-07-23 15:27:18 +03:00
stop using the word 'just'
Everywhere. In documentation and code comments. It is almost never a good word and almost always a filler that should be avoided. Closes #20793
This commit is contained in:
parent
4b583b7585
commit
b4dba346cd
213 changed files with 727 additions and 772 deletions
|
|
@ -820,7 +820,7 @@ typedef enum {
|
|||
* CURLAUTH_NTLM_WB - HTTP NTLM authentication delegated to winbind helper
|
||||
* CURLAUTH_BEARER - HTTP Bearer token authentication
|
||||
* CURLAUTH_ONLY - Use together with a single other type to force no
|
||||
* authentication or just that single type
|
||||
* authentication or that single type
|
||||
* CURLAUTH_ANY - All fine types set
|
||||
* CURLAUTH_ANYSAFE - All fine types except Basic
|
||||
*/
|
||||
|
|
@ -2124,7 +2124,7 @@ typedef enum {
|
|||
/* Specify URL using CURL URL API. */
|
||||
CURLOPT(CURLOPT_CURLU, CURLOPTTYPE_OBJECTPOINT, 282),
|
||||
|
||||
/* add trailing data just after no more data is available */
|
||||
/* add trailing data after no more data is available */
|
||||
CURLOPT(CURLOPT_TRAILERFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 283),
|
||||
|
||||
/* pointer to be passed to HTTP_TRAILER_FUNCTION */
|
||||
|
|
@ -2356,8 +2356,8 @@ typedef enum {
|
|||
Unless one is set programmatically, the
|
||||
.netrc will be queried. */
|
||||
enum CURL_NETRC_OPTION {
|
||||
/* we set a single member here, just to make sure we still provide the enum,
|
||||
but the values to use are defined above with L suffixes */
|
||||
/* we set a single member here, to make sure we still provide the enum, but
|
||||
the values to use are defined above with L suffixes */
|
||||
CURL_NETRC_LAST = 3
|
||||
};
|
||||
|
||||
|
|
@ -2386,7 +2386,7 @@ enum CURL_NETRC_OPTION {
|
|||
#define CURL_TLSAUTH_SRP 1L
|
||||
|
||||
enum CURL_TLSAUTH {
|
||||
/* we set a single member here, just to make sure we still provide the enum,
|
||||
/* we set a single member here, to make sure we still provide the enum,
|
||||
but the values to use are defined above with L suffixes */
|
||||
CURL_TLSAUTH_LAST = 2
|
||||
};
|
||||
|
|
@ -2409,7 +2409,7 @@ enum CURL_TLSAUTH {
|
|||
#define CURL_TIMECOND_LASTMOD 3L
|
||||
|
||||
typedef enum {
|
||||
/* we set a single member here, just to make sure we still provide
|
||||
/* we set a single member here, to make sure we still provide
|
||||
the enum typedef, but the values to use are defined above with L
|
||||
suffixes */
|
||||
CURL_TIMECOND_LAST = 4
|
||||
|
|
@ -3024,9 +3024,8 @@ typedef enum {
|
|||
/* Different data locks for a single share */
|
||||
typedef enum {
|
||||
CURL_LOCK_DATA_NONE = 0,
|
||||
/* CURL_LOCK_DATA_SHARE is used internally to say that
|
||||
* the locking is just made to change the internal state of the share
|
||||
* itself.
|
||||
/* CURL_LOCK_DATA_SHARE is used internally to say that the locking is made
|
||||
* to change the internal state of the share itself.
|
||||
*/
|
||||
CURL_LOCK_DATA_SHARE,
|
||||
CURL_LOCK_DATA_COOKIE,
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ CURL_EXTERN CURL *curl_easy_duphandle(CURL *curl);
|
|||
* DESCRIPTION
|
||||
*
|
||||
* Re-initializes a curl handle to the default values. This puts back the
|
||||
* handle to the same state as it was in when it was just created.
|
||||
* handle to the same state as it was in when it was created.
|
||||
*
|
||||
* It does keep: live connections, the Session ID cache, the DNS cache and the
|
||||
* cookies.
|
||||
|
|
|
|||
|
|
@ -77,9 +77,8 @@ typedef enum {
|
|||
CURLM_LAST
|
||||
} CURLMcode;
|
||||
|
||||
/* just to make code nicer when using curl_multi_socket() you can now check
|
||||
for CURLM_CALL_MULTI_SOCKET too in the same style it works for
|
||||
curl_multi_perform() and CURLM_CALL_MULTI_PERFORM */
|
||||
/* You can check for CURLM_CALL_MULTI_SOCKET too in the same style it works
|
||||
for curl_multi_perform() and CURLM_CALL_MULTI_PERFORM */
|
||||
#define CURLM_CALL_MULTI_SOCKET CURLM_CALL_MULTI_PERFORM
|
||||
|
||||
/* bitmask bits for CURLMOPT_PIPELINING */
|
||||
|
|
@ -201,13 +200,13 @@ CURL_EXTERN CURLMcode curl_multi_wakeup(CURLM *multi_handle);
|
|||
/*
|
||||
* Name: curl_multi_perform()
|
||||
*
|
||||
* Desc: When the app thinks there is data available for curl it calls this
|
||||
* Desc: When the app thinks there is data available for curl it calls this
|
||||
* function to read/write whatever there is right now. This returns
|
||||
* as soon as the reads and writes are done. This function does not
|
||||
* require that there actually is data available for reading or that
|
||||
* data can be written, it can be called just in case. It returns
|
||||
* the number of handles that still transfer data in the second
|
||||
* argument's integer-pointer.
|
||||
* data can be written, it can be called. It returns the number of
|
||||
* handles that still transfer data in the second argument's
|
||||
* integer-pointer.
|
||||
*
|
||||
* Returns: CURLMcode type, general multi error code. *NOTE* that this only
|
||||
* returns errors etc regarding the whole multi stack. There might
|
||||
|
|
@ -234,7 +233,7 @@ CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
|
|||
*
|
||||
* Desc: Ask the multi handle if there is any messages/informationals from
|
||||
* the individual transfers. Messages include informationals such as
|
||||
* error code from the transfer or just the fact that a transfer is
|
||||
* error code from the transfer or the fact that a transfer is
|
||||
* completed. More details on these should be written down as well.
|
||||
*
|
||||
* Repeated calls to this function will return a new struct each
|
||||
|
|
@ -515,7 +514,7 @@ typedef int (*curl_push_callback)(CURL *parent,
|
|||
*
|
||||
* Desc: Ask curl for fds for polling. The app can use these to poll on.
|
||||
* We want curl_multi_perform() called as soon as one of them are
|
||||
* ready. Passing zero size allows to get just a number of fds.
|
||||
* ready. Passing zero size allows to get a number of fds.
|
||||
*
|
||||
* Returns: CURLMcode type, general multi error code.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
* when compiling with -Wlogical-op.
|
||||
*
|
||||
* To add an option that uses the same type as an existing option, you will
|
||||
* just need to extend the appropriate _curl_*_option macro
|
||||
* need to extend the appropriate _curl_*_option macro
|
||||
*/
|
||||
|
||||
#define curl_easy_setopt(handle, option, value) \
|
||||
|
|
@ -260,7 +260,7 @@
|
|||
curlcheck_cb_compatible((expr), curl_notify_callback))
|
||||
|
||||
/*
|
||||
* For now, just make sure that the functions are called with three arguments
|
||||
* Make sure that the functions are called with three arguments
|
||||
*/
|
||||
#define curl_share_setopt(share, opt, param) \
|
||||
(curl_share_setopt)(share, opt, param)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue