GRAYBYTE WORDPRESS FILE MANAGER5803

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-php74/root/usr/include/php/main/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/cpanel/ea-php74/root/usr/include/php/main//php_memory_streams.h
/*
   +----------------------------------------------------------------------+
   | PHP Version 7                                                        |
   +----------------------------------------------------------------------+
   | Copyright (c) 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>                               |
   +----------------------------------------------------------------------+
 */

#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     0x0
#define TEMP_STREAM_READONLY    0x1
#define TEMP_STREAM_TAKE_BUFFER 0x2
#define TEMP_STREAM_APPEND      0x4

#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);

PHPAPI int php_stream_mode_from_str(const char *mode);
PHPAPI const char *_php_stream_mode_to_str(int mode);

END_EXTERN_C()

extern PHPAPI const php_stream_ops php_stream_memory_ops;
extern PHPAPI const php_stream_ops php_stream_temp_ops;
extern PHPAPI const php_stream_ops php_stream_rfc2397_ops;
extern PHPAPI const 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

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 10 2025 09:59:19
root / root
0755
streams
--
June 25 2025 08:31:48
root / root
0755
SAPI.h
10.085 KB
June 10 2025 09:59:29
root / root
0644
build-defs.h
6.109 KB
June 10 2025 09:59:30
root / root
0644
fastcgi.h
4.904 KB
June 10 2025 09:59:29
root / root
0644
fopen_wrappers.h
2.352 KB
June 10 2025 09:59:29
root / root
0644
http_status_codes.h
2.979 KB
June 10 2025 09:59:29
root / root
0644
php.h
11.783 KB
June 10 2025 09:59:29
root / root
0644
php_compat.h
19.805 KB
June 10 2025 09:59:29
root / root
0644
php_config.h
52.337 KB
June 10 2025 09:59:30
root / root
0644
php_content_types.h
1.453 KB
June 10 2025 09:59:29
root / root
0644
php_getopt.h
1.78 KB
June 10 2025 09:59:29
root / root
0644
php_globals.h
4.134 KB
June 10 2025 09:59:29
root / root
0644
php_ini.h
3.671 KB
June 10 2025 09:59:29
root / root
0644
php_main.h
2.417 KB
June 10 2025 09:59:29
root / root
0644
php_memory_streams.h
3.427 KB
June 10 2025 09:59:29
root / root
0644
php_network.h
9.994 KB
June 10 2025 09:59:29
root / root
0644
php_open_temporary_file.h
2.063 KB
June 10 2025 09:59:29
root / root
0644
php_output.h
9.416 KB
June 10 2025 09:59:29
root / root
0644
php_reentrancy.h
3.41 KB
June 10 2025 09:59:29
root / root
0644
php_scandir.h
1.823 KB
June 10 2025 09:59:29
root / root
0644
php_stdint.h
5.149 KB
June 10 2025 09:59:29
root / root
0644
php_streams.h
28.662 KB
June 10 2025 09:59:29
root / root
0644
php_syslog.h
1.586 KB
June 10 2025 09:59:29
root / root
0644
php_ticks.h
1.468 KB
June 10 2025 09:59:29
root / root
0644
php_variables.h
2.007 KB
June 10 2025 09:59:29
root / root
0644
php_version.h
0.26 KB
June 10 2025 09:59:29
root / root
0644
rfc1867.h
3.284 KB
June 10 2025 09:59:29
root / root
0644
snprintf.h
6.699 KB
June 10 2025 09:59:29
root / root
0644
spprintf.h
1.614 KB
June 10 2025 09:59:29
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF