PHP: struct php_stream_wrapper_ops - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

struct php_stream_filter struct php_stream_wrapper

Last updated: Fri, 26 Jan 2007

view this page in

# struct php_stream_wrapper_ops

struct php_stream_wrapper_ops -- Holds member functions for a stream wrapper implementation

## Description

    typedef struct _php_stream_wrapper_ops {
                /* open/create a wrapped stream */
                php_stream *(*stream_opener)(php_stream_wrapper *wrapper, char *filename, char *mode,
                        int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
                /* close/destroy a wrapped stream */
                int (*stream_closer)(php_stream_wrapper *wrapper, php_stream *stream TSRMLS_DC);
                /* stat a wrapped stream */
                int (*stream_stat)(php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb TSR$
                /* stat a URL */
                int (*url_stat)(php_stream_wrapper *wrapper, char *url, php_stream_statbuf *ssb TSRMLS_DC);
                /* open a "directory" stream */
                php_stream *(*dir_opener)(php_stream_wrapper *wrapper, char *filename, char *mode,
                        int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);

                const char *label;

                /* Delete/Unlink a file */
                int (*unlink)(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC);
            } php_stream_wrapper_ops;

add a note User Contributed Notes
struct php_stream_wrapper_ops
There are no user contributed notes for this page.
struct php_stream_filter struct php_stream_wrapper

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST