2000-07-16 19:37:33 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2019-01-30 09:03:12 +00:00
|
|
|
| Copyright (c) The PHP Group |
|
2000-07-16 19:37:33 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2006-01-01 12:51:34 +00:00
|
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
2000-07-16 19:37:33 +00:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-10 20:04:29 +00:00
|
|
|
| available through the world-wide-web at the following url: |
|
2021-05-06 10:16:35 +00:00
|
|
|
| https://www.php.net/license/3_01.txt |
|
2000-07-16 19:37:33 +00:00
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
|
|
+----------------------------------------------------------------------+
|
2001-02-15 16:20:13 +00:00
|
|
|
| Author: Sterling Hughes <sterling@php.net> |
|
2002-11-13 22:25:33 +00:00
|
|
|
| Wez Furlong <wez@thebrainroom.com> |
|
2000-07-16 19:37:33 +00:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _PHP_CURL_H
|
|
|
|
#define _PHP_CURL_H
|
|
|
|
|
2001-04-30 14:36:19 +00:00
|
|
|
#include "php.h"
|
2000-08-27 22:53:33 +00:00
|
|
|
|
2013-01-29 06:22:59 +00:00
|
|
|
#ifdef PHP_WIN32
|
2020-11-19 14:42:01 +00:00
|
|
|
# ifdef PHP_CURL_EXPORTS
|
|
|
|
# define PHP_CURL_API __declspec(dllexport)
|
|
|
|
# else
|
|
|
|
# define PHP_CURL_API __declspec(dllimport)
|
|
|
|
# endif
|
2013-01-29 06:22:59 +00:00
|
|
|
#elif defined(__GNUC__) && __GNUC__ >= 4
|
|
|
|
# define PHP_CURL_API __attribute__ ((visibility("default")))
|
|
|
|
#else
|
|
|
|
# define PHP_CURL_API
|
|
|
|
#endif
|
|
|
|
|
2000-07-16 19:37:33 +00:00
|
|
|
extern zend_module_entry curl_module_entry;
|
2020-09-07 09:05:07 +00:00
|
|
|
#define phpext_curl_ptr &curl_module_entry
|
2000-07-16 19:37:33 +00:00
|
|
|
|
2020-06-17 14:05:55 +00:00
|
|
|
PHP_CURL_API extern zend_class_entry *curl_ce;
|
|
|
|
PHP_CURL_API extern zend_class_entry *curl_share_ce;
|
2020-09-07 09:12:41 +00:00
|
|
|
PHP_CURL_API extern zend_class_entry *curl_multi_ce;
|
2013-01-29 06:22:59 +00:00
|
|
|
PHP_CURL_API extern zend_class_entry *curl_CURLFile_class;
|
2020-11-26 07:30:02 +00:00
|
|
|
PHP_CURL_API extern zend_class_entry *curl_CURLStringFile_class;
|
2000-10-20 04:57:14 +00:00
|
|
|
|
2000-07-25 22:15:26 +00:00
|
|
|
#endif /* _PHP_CURL_H */
|