.\" generated by cd2nroff 0.1 from curl_multi_notify_disable.md .TH curl_multi_notify_disable 3 "2025-11-13" libcurl .SH NAME curl_multi_notify_disable \- disable a notification type .SH SYNOPSIS .nf #include CURLMcode curl_multi_notify_disable(CURLM *multi_handle, unsigned int notification); .fi .SH DESCRIPTION Disables collecting the given notification type in the multi handle. A callback function installed via \fICURLMOPT_NOTIFYFUNCTION(3)\fP is no longer called when this notification happens. Only when a notification callback is installed \fIand\fP a notification is enabled are these collected and dispatched to the callback. Several notification types can be enabled at the same time. Disabling an already disabled notification is not an error. A notification can be enabled again via \fIcurl_multi_notify_enable(3)\fP. .SH PROTOCOLS This functionality affects all supported protocols .SH EXAMPLE .nf int main(void) { int rc; CURLM *multi = curl_multi_init(); rc = curl_multi_notify_disable(multi, CURLMNOTIFY_INFO_READ); } .fi .SH AVAILABILITY Added in curl 8.17.0 .SH RETURN VALUE This function returns a CURLMcode indicating success or error. CURLM_OK (0) means everything was OK, non\-zero means an error occurred, see \fIlibcurl\-errors(3)\fP. The return code is for the whole multi stack. Problems still might have occurred on individual transfers even when one of these functions return OK. .SH SEE ALSO .BR CURLMOPT_NOTIFYDATA (3), .BR CURLMOPT_NOTIFYFUNCTION (3), .BR curl_multi_notify_enable (3)