PHP 8.2.30
Preview: swoole_curl_interface.h Size: 1.44 KB
/proc/self/root/opt/alt/php83/usr/include/php/ext/swoole/ext-src/swoole_curl_interface.h

#pragma once

#include "php_swoole_cxx.h"

#ifdef SW_USE_CURL
SW_EXTERN_C_BEGIN

#include <curl/curl.h>
#include <curl/multi.h>

void swoole_native_curl_minit(int module_number);
void swoole_native_curl_mshutdown();

PHP_FUNCTION(swoole_native_curl_close);
PHP_FUNCTION(swoole_native_curl_copy_handle);
PHP_FUNCTION(swoole_native_curl_errno);
PHP_FUNCTION(swoole_native_curl_error);
PHP_FUNCTION(swoole_native_curl_exec);
PHP_FUNCTION(swoole_native_curl_getinfo);
PHP_FUNCTION(swoole_native_curl_init);
PHP_FUNCTION(swoole_native_curl_setopt);
PHP_FUNCTION(swoole_native_curl_setopt_array);
PHP_FUNCTION(swoole_native_curl_reset);
PHP_FUNCTION(swoole_native_curl_escape);
PHP_FUNCTION(swoole_native_curl_unescape);
PHP_FUNCTION(swoole_native_curl_pause);
PHP_FUNCTION(swoole_native_curl_multi_add_handle);
PHP_FUNCTION(swoole_native_curl_multi_close);
PHP_FUNCTION(swoole_native_curl_multi_errno);
PHP_FUNCTION(swoole_native_curl_multi_exec);
PHP_FUNCTION(swoole_native_curl_multi_select);
PHP_FUNCTION(swoole_native_curl_multi_remove_handle);
PHP_FUNCTION(swoole_native_curl_multi_setopt);
PHP_FUNCTION(swoole_native_curl_multi_getcontent);
PHP_FUNCTION(swoole_native_curl_multi_info_read);
PHP_FUNCTION(swoole_native_curl_multi_init);

#if PHP_VERSION_ID >= 80400
PHP_FUNCTION(swoole_native_curl_upkeep);
PHP_FUNCTION(swoole_native_curl_version);
PHP_FUNCTION(swoole_native_curl_strerror);
PHP_FUNCTION(swoole_native_curl_multi_strerror);
#endif

SW_EXTERN_C_END
#endif

Directory Contents

Dirs: 0 × Files: 18

Name Size Perms Modified Actions
1.81 KB lrw-r--r-- 2025-03-12 14:14:45
Edit Download
2.54 KB lrw-r--r-- 2025-03-12 14:14:45
Edit Download
9.94 KB lrw-r--r-- 2025-03-12 14:14:45
Edit Download
1.88 KB lrw-r--r-- 2025-03-12 14:14:45
Edit Download
5.08 KB lrw-r--r-- 2025-03-12 14:14:45
Edit Download
26.01 KB lrw-r--r-- 2025-03-12 14:14:45
Edit Download
14.73 KB lrw-r--r-- 2025-03-12 14:14:45
Edit Download
3.78 KB lrw-r--r-- 2025-03-12 14:14:45
Edit Download
380.54 KB lrw-r--r-- 2025-03-12 14:14:45
Edit Download
5.76 KB lrw-r--r-- 2025-03-12 14:14:45
Edit Download
3.42 KB lrw-r--r-- 2025-03-12 14:14:45
Edit Download
2.69 KB lrw-r--r-- 2025-03-12 14:14:46
Edit Download
45.87 KB lrw-r--r-- 2025-03-12 14:14:46
Edit Download
1.38 KB lrw-r--r-- 2025-03-12 14:14:46
Edit Download
6.60 KB lrw-r--r-- 2025-03-12 14:14:46
Edit Download
2.67 KB lrw-r--r-- 2025-03-12 14:14:46
Edit Download
10.71 KB lrw-r--r-- 2025-03-12 14:14:46
Edit Download
1.44 KB lrw-r--r-- 2025-03-12 14:14:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).