1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Move definition of php_le_stream_context

From ext/standard/file.h to main/streams/php_stream_context.h
This reduces some dependency of main/ on ext/standard
This commit is contained in:
Gina Peter Banyard
2025-03-03 20:22:35 +00:00
parent e034b69fa6
commit 5544a77f77
2 changed files with 1 additions and 1 deletions

View File

@@ -36,7 +36,6 @@ PHPAPI PHP_FUNCTION(fpassthru);
PHP_MINIT_FUNCTION(user_streams);
PHPAPI int php_le_stream_context(void);
PHPAPI zend_result php_copy_file(const char *src, const char *dest);
PHPAPI zend_result php_copy_file_ex(const char *src, const char *dest, int src_flags);
PHPAPI zend_result php_copy_file_ctx(const char *src, const char *dest, int src_flags, php_stream_context *ctx);

View File

@@ -53,6 +53,7 @@ struct _php_stream_context {
};
BEGIN_EXTERN_C()
PHPAPI int php_le_stream_context(void);
PHPAPI void php_stream_context_free(php_stream_context *context);
PHPAPI php_stream_context *php_stream_context_alloc(void);
PHPAPI zval *php_stream_context_get_option(php_stream_context *context,