mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:13:34 +03:00
multi: use CURLMNOTIFY_ as notification id prefix
Since CURLM_ is already used as prefix for multi error codes, it makes
it easier to detect and understand the difference between identifiers -
and allows for scripts on the website and elsewhere to separate them
properly.
Follow-up to 53be8166b2
Closes #18912
This commit is contained in:
parent
6bb7714032
commit
496802fdcf
9 changed files with 31 additions and 32 deletions
|
|
@ -529,8 +529,8 @@ CURL_EXTERN CURLMcode curl_multi_waitfds(CURLM *multi,
|
|||
/*
|
||||
* Notifications dispatched by a multi handle, when enabled.
|
||||
*/
|
||||
#define CURLM_NOTIFY_INFO_READ 0
|
||||
#define CURLM_NOTIFY_EASY_DONE 1
|
||||
#define CURLMNOTIFY_INFO_READ 0
|
||||
#define CURLMNOTIFY_EASY_DONE 1
|
||||
|
||||
/*
|
||||
* Callback to install via CURLMOPT_NOTIFYFUNCTION.
|
||||
|
|
@ -540,7 +540,6 @@ typedef void (*curl_notify_callback)(CURLM *multi,
|
|||
CURL *easy,
|
||||
void *user_data);
|
||||
|
||||
|
||||
CURL_EXTERN CURLMcode curl_multi_notify_disable(CURLM *multi,
|
||||
unsigned int notification);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue