php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_curl.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Author: Sterling Hughes <sterling@php.net> |
14 | Wez Furlong <wez@thebrainroom.com> |
15 +----------------------------------------------------------------------+
16*/
17
18#ifndef _PHP_CURL_H
19#define _PHP_CURL_H
20
21#include "php.h"
22
23#ifdef PHP_WIN32
24# ifdef PHP_CURL_EXPORTS
25# define PHP_CURL_API __declspec(dllexport)
26# else
27# define PHP_CURL_API __declspec(dllimport)
28# endif
29#elif defined(__GNUC__) && __GNUC__ >= 4
30# define PHP_CURL_API __attribute__ ((visibility("default")))
31#else
32# define PHP_CURL_API
33#endif
34
36#define phpext_curl_ptr &curl_module_entry
37
43
44#endif /* _PHP_CURL_H */
zend_class_entry * curl_ce
Definition interface.c:228
zend_class_entry * curl_share_ce
Definition interface.c:229
zend_module_entry curl_module_entry
Definition interface.c:208
PHP_CURL_API zend_class_entry * curl_CURLFile_class
Definition curl_file.c:26
PHP_CURL_API zend_class_entry * curl_CURLStringFile_class
Definition curl_file.c:27
zend_class_entry * curl_multi_ce
Definition multi.c:51
#define PHP_CURL_API
Definition php_curl.h:32
struct _zend_module_entry zend_module_entry
struct _zend_class_entry zend_class_entry