multi: notify rename, remove the last stragglers

in the public API.

Follow-up to 357808f4ad

Closes #18910
This commit is contained in:
Stefan Eissing 2025-10-07 13:40:05 +02:00 committed by Daniel Stenberg
parent 7ddbde4f73
commit 53be8166b2
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 20 additions and 20 deletions

View file

@ -49,7 +49,7 @@ int main(void)
int rc;
CURLM *multi = curl_multi_init();
rc = curl_multi_notify_disable(multi, CURLM_NTFY_INFO_READ);
rc = curl_multi_notify_disable(multi, CURLM_NOTIFY_INFO_READ);
}
~~~

View file

@ -49,7 +49,7 @@ int main(void)
int rc;
CURLM *multi = curl_multi_init();
rc = curl_multi_notify_enable(multi, CURLM_NTFY_INFO_READ);
rc = curl_multi_notify_enable(multi, CURLM_NOTIFY_INFO_READ);
}
~~~

View file

@ -61,7 +61,7 @@ int main(void)
/* ... use socket callback and custom pointer */
curl_multi_setopt(multi, CURLMOPT_NOTIFYFUNCTION, ntfy_cb);
curl_multi_setopt(multi, CURLMOPT_NOTIFYDATA, &setup);
curl_multi_notify_enable(multi, CURLM_NTFY_INFO_READ);
curl_multi_notify_enable(multi, CURLM_NOTIFY_INFO_READ);
}
~~~

View file

@ -63,7 +63,7 @@ are shut down.
**notification** is the type of notification, e.g. what happened. The
following types are available:
## CURLM_NTFY_INFO_READ
## CURLM_NOTIFY_INFO_READ
When enabled via curl_multi_notify_enable(3), this informs the application
that there are new messages to be processed via curl_multi_info_read(3).
@ -76,7 +76,7 @@ again.
The *easy* handle passed is an internal handle.
## CURLM_NTFY_EASY_DONE
## CURLM_NOTIFY_EASY_DONE
When enabled via curl_multi_notify_enable(3), this notification is triggered
when a an easy handle has finished. This happens both for
@ -118,7 +118,7 @@ int main(void)
/* ... use socket callback and custom pointer */
curl_multi_setopt(multi, CURLMOPT_NOTIFYFUNCTION, ntfy_cb);
curl_multi_setopt(multi, CURLMOPT_NOTIFYDATA, &setup);
curl_multi_notify_enable(multi, CURLM_NTFY_INFO_READ);
curl_multi_notify_enable(multi, CURLM_NOTIFY_INFO_READ);
}
~~~

View file

@ -545,8 +545,8 @@ CURLM_BAD_SOCKET 7.15.4
CURLM_CALL_MULTI_PERFORM 7.9.6
CURLM_CALL_MULTI_SOCKET 7.15.5
CURLM_INTERNAL_ERROR 7.9.6
CURLM_NTFY_EASY_DONE 8.17.0
CURLM_NTFY_INFO_READ 8.17.0
CURLM_NOTIFY_EASY_DONE 8.17.0
CURLM_NOTIFY_INFO_READ 8.17.0
CURLM_OK 7.9.6
CURLM_OUT_OF_MEMORY 7.9.6
CURLM_RECURSIVE_API_CALL 7.59.0
@ -570,8 +570,8 @@ CURLMOPT_MAX_PIPELINE_LENGTH 7.30.0
CURLMOPT_MAX_TOTAL_CONNECTIONS 7.30.0
CURLMOPT_MAXCONNECTS 7.16.3
CURLMOPT_NETWORK_CHANGED 8.16.0
CURLMOPT_NOTIFYDATA 8.17.0
CURLMOPT_NOTIFYFUNCTION 8.17.0
CURLMOPT_NOTIFYDATA 8.17.0
CURLMOPT_NOTIFYFUNCTION 8.17.0
CURLMOPT_PIPELINING 7.16.0
CURLMOPT_PIPELINING_SERVER_BL 7.30.0
CURLMOPT_PIPELINING_SITE_BL 7.30.0