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:
Daniel Stenberg 2025-10-07 16:00:59 +02:00
parent 6bb7714032
commit 496802fdcf
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 31 additions and 32 deletions

View file

@ -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);