History log of /PHP-7.3/main/php_streams.h (Results 126 – 150 of 209)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 3ab8d263 03-Nov-2003 Derick Rethans

- Always store the URI path in the streams structure, and expose it with
stream_get_meta_data().


Revision tags: php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3, BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7, php-4.3.3, php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2
# 4d98e9ec 29-Jul-2003 Ilia Alshanetsky

Finalize the closing process of persistent streams. The current
behavior/API is as follows:

1) To close a persistent use php_stream_pclose(), it will close the stream
and remove it f

Finalize the closing process of persistent streams. The current
behavior/API is as follows:

1) To close a persistent use php_stream_pclose(), it will close the stream
and remove it from the persistent list.

2) Inside PHP code only explicit fclose() will close persistent streams,
all other actions such as unset() or assigning a value to stream handle
will not.

3) Regular streams can still be closed by either fclose(), unset() or an
assignment of a value to the stream handler.

show more ...


Revision tags: php-5.0.0b1
# 5ecc91c2 28-Jun-2003 Wez Furlong

Merge selectable descriptor casting from PHP_4_3 branch.


Revision tags: php-4.3.3RC1
# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.


Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT, php-4.3.2RC3
# 65d359d7 14-May-2003 Sara Golemon

Fold 'options' parameter into wops->unlink method


Revision tags: RELEASE_0_9b
# 5126fbe5 14-May-2003 Sara Golemon

Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapp

Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops

show more ...


Revision tags: SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init
# 0c366c24 17-Apr-2003 Sara Golemon

Macro: php_stream_get_from_zval(php_stream *stream, zval **zstream, char *mode, int options, char **opened_path, php_stream_context *context) Z_TYPE_PP(zstream) can be either IS_RESOURCE (An already

Macro: php_stream_get_from_zval(php_stream *stream, zval **zstream, char *mode, int options, char **opened_path, php_stream_context *context) Z_TYPE_PP(zstream) can be either IS_RESOURCE (An already opened stream) or IS_STRING (a path to a stream to be opened)

show more ...


# 86fb577d 18-Mar-2003 Wez Furlong

Implement persistent plain file streams.

Usage:

php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_E

Implement persistent plain file streams.

Usage:

php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS);

the filename and mode are combined to form the hash key for the persistent
list; they must be identical for this same stream to be returned again in the
next request.

Calling php_stream_close() on a persistent stream *will* close it, as is
usual with all persistent resources in PHP/ZE.

This is deliberately *not* exposed to user-space PHP at this time.

show more ...


Revision tags: php-4.3.2RC1
# cfd8150b 27-Feb-2003 Wez Furlong

Add a generic meta data api for streams.


# fd61f690 27-Feb-2003 Wez Furlong

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extension

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
(currently only supports OpenSSL, but could support other SSL toolkits,
and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
removing the link-time requirement for ssl:// and https:// sockets and
streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.

show more ...


# 60dcebd7 27-Feb-2003 Sascha Schumann

rename macro argument so that it does not partially match the string.

fixes a warning on unixware


# 862634ff 25-Feb-2003 Ilia Alshanetsky

Added locking to streams.
Allow PHP to automatically release locks on files when terminating the
stream.
Fixed bugs in the handling of the 3rd optional parameter to flock().


# 088e2692 24-Feb-2003 Wez Furlong

MFB: Bunch of streams related fixes.


# 32165a55 18-Feb-2003 Wez Furlong

Implement new filter API, stage 1.
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c

The filters stack has been separat

Implement new filter API, stage 1.
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c

The filters stack has been separated into one chain for read and one chain
for write.

The user-space stream_filter_append() type functions currently only operate
on the read chain. They need extending to work with the write chain too.

show more ...


# 6e296c5c 17-Feb-2003 Wez Furlong

Move some of the streams header into supplementary files

# Just when you thought you had learned your way around the streams code;
# I like to keep you all on your toes!


Revision tags: php-4.3.1
# 35878992 13-Feb-2003 Wez Furlong

Moving away from ANSI stdio for plain files.


# f98ea4c4 09-Feb-2003 Ilia Alshanetsky

Added feature request #9173 (added stream_get_line(), this function will
read either the specified number of bytes or until the ending string is
found).


# a592f3cc 07-Feb-2003 Ilia Alshanetsky

Added missing definitions.


Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# 52a3c29e 06-Jan-2003 Wez Furlong

Fix for bug #21406; infinite loop during filter flushing.


# 42e912da 06-Jan-2003 Sara Golemon

Expose stream_filters_hash so that it can be searched by stream_get_filters()


# da9eb594 02-Jan-2003 Derick Rethans

- Fix warnings on UnixWare


# 2c5d4b8c 31-Dec-2002 Sebastian Bergmann

Bump year.


Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3, php-4.3.0RC2, RELEASE_1_0b2
# ca58966a 18-Nov-2002 Wez Furlong

Merge streams changes from branch.


Revision tags: BEFORE_RENAMING, php-4.3.0RC1
# a73e74c2 06-Nov-2002 Marcus Boerger

Make the macro use the function and not the other macro as discussed
with Wez.


# 1f0b2001 06-Nov-2002 Marcus Boerger

php_stream replacement for fprintf
#Agreed by Wez - I will use this mysel soon.


123456789