GRAYBYTE WORDPRESS FILE MANAGER6334

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/cpanel/ea-php70/root/usr/include/php/main/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/cpanel/ea-php70/root/usr/include/php/main//php_memory_streams.h
/*
   +----------------------------------------------------------------------+
   | PHP Version 7                                                        |
   +----------------------------------------------------------------------+
   | Copyright (c) 1997-2017 The PHP Group                                |
   +----------------------------------------------------------------------+
   | This source file is subject to version 3.01 of the PHP license,      |
   | that is bundled with this package in the file LICENSE, and is        |
   | available through the world-wide-web at the following url:           |
   | http://www.php.net/license/3_01.txt                                  |
   | 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.               |
   +----------------------------------------------------------------------+
   | Author: Marcus Boerger <helly@php.net>                               |
   +----------------------------------------------------------------------+
 */

/* $Id$ */

#ifndef PHP_MEMORY_STREAM_H
#define PHP_MEMORY_STREAM_H

#include "php_streams.h"

#define PHP_STREAM_MAX_MEM	2 * 1024 * 1024

#define TEMP_STREAM_DEFAULT  0
#define TEMP_STREAM_READONLY 1
#define TEMP_STREAM_TAKE_BUFFER 2

#define php_stream_memory_create(mode) _php_stream_memory_create((mode) STREAMS_CC)
#define php_stream_memory_create_rel(mode) _php_stream_memory_create((mode) STREAMS_REL_CC)
#define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) STREAMS_CC)
#define php_stream_memory_get_buffer(stream, length) _php_stream_memory_get_buffer((stream), (length) STREAMS_CC)

#define php_stream_temp_new() php_stream_temp_create(TEMP_STREAM_DEFAULT, PHP_STREAM_MAX_MEM)
#define php_stream_temp_create(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_usage) STREAMS_CC)
#define php_stream_temp_create_ex(mode, max_memory_usage, tmpdir) _php_stream_temp_create_ex((mode), (max_memory_usage), (tmpdir) STREAMS_CC)
#define php_stream_temp_create_rel(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_usage) STREAMS_REL_CC)
#define php_stream_temp_open(mode, max_memory_usage, buf, length) _php_stream_temp_open((mode), (max_memory_usage), (buf), (length) STREAMS_CC)

BEGIN_EXTERN_C()
PHPAPI php_stream *_php_stream_memory_create(int mode STREAMS_DC);
PHPAPI php_stream *_php_stream_memory_open(int mode, char *buf, size_t length STREAMS_DC);
PHPAPI char *_php_stream_memory_get_buffer(php_stream *stream, size_t *length STREAMS_DC);

PHPAPI php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage STREAMS_DC);
PHPAPI php_stream *_php_stream_temp_create_ex(int mode, size_t max_memory_usage, const char *tmpdir STREAMS_DC);
PHPAPI php_stream *_php_stream_temp_open(int mode, size_t max_memory_usage, char *buf, size_t length STREAMS_DC);
END_EXTERN_C()

extern PHPAPI php_stream_ops php_stream_memory_ops;
extern PHPAPI php_stream_ops php_stream_temp_ops;
extern PHPAPI php_stream_ops php_stream_rfc2397_ops;
extern PHPAPI php_stream_wrapper php_stream_rfc2397_wrapper;

#define PHP_STREAM_IS_MEMORY &php_stream_memory_ops
#define PHP_STREAM_IS_TEMP   &php_stream_temp_ops

#endif

/*
 * Local variables:
 * tab-width: 4
 * c-basic-offset: 4
 * End:
 * vim600: sw=4 ts=4 fdm=marker
 * vim<600: sw=4 ts=4
 */

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 23 2025 03:01:53
root / root
0755
streams
--
June 25 2025 08:31:27
root / root
0755
SAPI.h
9.428 KB
May 23 2025 03:02:19
root / root
0644
build-defs.h
7.104 KB
May 23 2025 03:02:19
root / root
0644
fastcgi.h
4.991 KB
May 23 2025 03:02:19
root / root
0644
fopen_wrappers.h
2.646 KB
May 23 2025 03:02:19
root / root
0644
http_status_codes.h
2.986 KB
May 23 2025 03:02:19
root / root
0644
php.h
11.313 KB
May 23 2025 03:02:19
root / root
0644
php_compat.h
17.606 KB
May 23 2025 03:02:19
root / root
0644
php_config.h
56.77 KB
May 23 2025 03:02:19
root / root
0644
php_content_types.h
1.465 KB
May 23 2025 03:02:19
root / root
0644
php_getopt.h
2.022 KB
May 23 2025 03:02:19
root / root
0644
php_globals.h
4.11 KB
May 23 2025 03:02:19
root / root
0644
php_ini.h
3.683 KB
May 23 2025 03:02:19
root / root
0644
php_main.h
2.523 KB
May 23 2025 03:02:19
root / root
0644
php_memory_streams.h
3.383 KB
May 23 2025 03:02:19
root / root
0644
php_network.h
9.999 KB
May 23 2025 03:02:19
root / root
0644
php_open_temporary_file.h
1.643 KB
May 23 2025 03:02:19
root / root
0644
php_output.h
9.558 KB
May 23 2025 03:02:19
root / root
0644
php_reentrancy.h
3.604 KB
May 23 2025 03:02:19
root / root
0644
php_scandir.h
1.885 KB
May 23 2025 03:02:19
root / root
0644
php_stdint.h
5.206 KB
May 23 2025 03:02:19
root / root
0644
php_streams.h
28.628 KB
May 23 2025 03:02:19
root / root
0644
php_syslog.h
1.536 KB
May 23 2025 03:02:19
root / root
0644
php_ticks.h
1.551 KB
May 23 2025 03:02:19
root / root
0644
php_variables.h
2.019 KB
May 23 2025 03:02:19
root / root
0644
php_version.h
0.26 KB
May 23 2025 03:02:19
root / root
0644
rfc1867.h
3.296 KB
May 23 2025 03:02:19
root / root
0644
snprintf.h
6.88 KB
May 23 2025 03:02:19
root / root
0644
spprintf.h
2.248 KB
May 23 2025 03:02:19
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF