Source
/*
** Copyright (C) 2001-2025 Zabbix SIA
**
** This program is free software: you can redistribute it and/or modify it under the terms of
** the GNU Affero General Public License as published by the Free Software Foundation, version 3.
**
** This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
** without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
** See the GNU Affero General Public License for more details.
**
** You should have received a copy of the GNU Affero General Public License along with this program.
** If not, see <https://www.gnu.org/licenses/>.
**/
/* Currently required cURL library version is 7.19.1 (see configure.ac). When */
/* it is increased there all the following functionality must be revised. */
/* added in 7.20.0 (0x071400) */
/* renamed in 7.21.6 */
/* curl_multi_wait() was added in cURL 7.28.0 (0x071c00). Since we support cURL library >= 7.19.1 */
/* we want to be able to compile against older cURL library. This is a wrapper that detects if the */
/* function is available at runtime. It should never be called for older library versions because */
/* detect the version before. When cURL library requirement goes to >= 7.28.0 this function should */
/* be removed and curl_multi_wait() be used directly. */
CURLMcode zbx_curl_multi_wait(CURLM *multi_handle, int timeout_ms, int *numfds);
/* added in 7.33.0 (0x072100) */
/* added in 7.38.0 (0x072600) */
/* added in 7.55.0 (0x073700) */
/* added in 7.61.0 (0x073d00) */