GRAYBYTE WORDPRESS FILE MANAGER4077

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

Command :


Current File : /opt/alt/php54/usr/include/php/main//php_memory_streams.h
/*
   +----------------------------------------------------------------------+
   | PHP Version 5                                                        |
   +----------------------------------------------------------------------+
   | Copyright (c) 1997-2014 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 TSRMLS_CC)
#define php_stream_memory_create_rel(mode) _php_stream_memory_create((mode) STREAMS_REL_CC TSRMLS_CC)
#define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) STREAMS_CC TSRMLS_CC)
#define php_stream_memory_get_buffer(stream, length) _php_stream_memory_get_buffer((stream), (length) STREAMS_CC TSRMLS_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 TSRMLS_CC)
#define php_stream_temp_create_rel(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_usage) STREAMS_REL_CC TSRMLS_CC)
#define php_stream_temp_open(mode, max_memory_usage, buf, length) _php_stream_temp_open((mode), (max_memory_usage), (buf), (length) STREAMS_CC TSRMLS_CC)

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

PHPAPI php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage STREAMS_DC TSRMLS_DC);
PHPAPI php_stream *_php_stream_temp_open(int mode, size_t max_memory_usage, char *buf, size_t length STREAMS_DC TSRMLS_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
..
--
June 02 2025 20:08:42
root / linksafe
0755
streams
--
May 13 2025 08:38:17
root / linksafe
0755
SAPI.h
9.688 KB
April 15 2025 11:12:04
root / linksafe
0644
build-defs.h
6.922 KB
April 15 2025 11:12:05
root / linksafe
0644
fopen_wrappers.h
2.751 KB
April 15 2025 11:12:04
root / linksafe
0644
logos.h
24.979 KB
April 15 2025 11:12:04
root / linksafe
0644
php.h
11.658 KB
April 15 2025 11:12:04
root / linksafe
0644
php_compat.h
17.606 KB
April 15 2025 11:12:04
root / linksafe
0644
php_config.h
53.41 KB
April 15 2025 11:12:05
root / linksafe
0644
php_content_types.h
1.473 KB
April 15 2025 11:12:04
root / linksafe
0644
php_getopt.h
2.022 KB
April 15 2025 11:12:04
root / linksafe
0644
php_globals.h
3.981 KB
April 15 2025 11:12:04
root / linksafe
0644
php_ini.h
3.67 KB
April 15 2025 11:12:04
root / linksafe
0644
php_logos.h
1.502 KB
April 15 2025 11:12:04
root / linksafe
0644
php_main.h
2.708 KB
April 15 2025 11:12:04
root / linksafe
0644
php_memory_streams.h
3.251 KB
April 15 2025 11:12:05
root / linksafe
0644
php_network.h
9.563 KB
April 15 2025 11:12:05
root / linksafe
0644
php_open_temporary_file.h
1.702 KB
April 15 2025 11:12:05
root / linksafe
0644
php_output.h
10.001 KB
April 15 2025 11:12:05
root / linksafe
0644
php_reentrancy.h
3.604 KB
April 15 2025 11:12:05
root / linksafe
0644
php_scandir.h
1.886 KB
April 15 2025 11:12:05
root / linksafe
0644
php_streams.h
29.706 KB
April 15 2025 11:12:05
root / linksafe
0644
php_syslog.h
1.537 KB
April 15 2025 11:12:05
root / linksafe
0644
php_ticks.h
1.524 KB
April 15 2025 11:12:05
root / linksafe
0644
php_variables.h
2.003 KB
April 15 2025 11:12:05
root / linksafe
0644
php_version.h
0.26 KB
April 15 2025 11:12:05
root / linksafe
0644
rfc1867.h
3.356 KB
April 15 2025 11:12:05
root / linksafe
0644
snprintf.h
6.857 KB
April 15 2025 11:12:05
root / linksafe
0644
spprintf.h
2.021 KB
April 15 2025 11:12:05
root / linksafe
0644
win32_internal_function_disabled.h
1.559 KB
April 15 2025 11:12:05
root / linksafe
0644
win95nt.h
2.63 KB
April 15 2025 11:12:05
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF