php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
_php_stream_wrapper_ops Struct Reference

#include <php_streams.h>

Data Fields

php_stream *(* stream_opener )(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC)
 
int(* stream_closer )(php_stream_wrapper *wrapper, php_stream *stream)
 
int(* stream_stat )(php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb)
 
int(* url_stat )(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context)
 
php_stream *(* dir_opener )(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC)
 
const char * label
 
int(* unlink )(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context)
 
int(* rename )(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context)
 
int(* stream_mkdir )(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context)
 
int(* stream_rmdir )(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context)
 
int(* stream_metadata )(php_stream_wrapper *wrapper, const char *url, int options, void *value, php_stream_context *context)
 

Detailed Description

Definition at line 131 of file php_streams.h.

Field Documentation

◆ dir_opener

php_stream *(* _php_stream_wrapper_ops::dir_opener) (php_stream_wrapper *wrapper, const char *filename, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC)

Definition at line 142 of file php_streams.h.

◆ label

const char* _php_stream_wrapper_ops::label

Definition at line 145 of file php_streams.h.

◆ rename

int(* _php_stream_wrapper_ops::rename) (php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context)

Definition at line 151 of file php_streams.h.

◆ stream_closer

int(* _php_stream_wrapper_ops::stream_closer) (php_stream_wrapper *wrapper, php_stream *stream)

Definition at line 136 of file php_streams.h.

◆ stream_metadata

int(* _php_stream_wrapper_ops::stream_metadata) (php_stream_wrapper *wrapper, const char *url, int options, void *value, php_stream_context *context)

Definition at line 157 of file php_streams.h.

◆ stream_mkdir

int(* _php_stream_wrapper_ops::stream_mkdir) (php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context)

Definition at line 154 of file php_streams.h.

◆ stream_opener

php_stream *(* _php_stream_wrapper_ops::stream_opener) (php_stream_wrapper *wrapper, const char *filename, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC)

Definition at line 133 of file php_streams.h.

◆ stream_rmdir

int(* _php_stream_wrapper_ops::stream_rmdir) (php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context)

Definition at line 155 of file php_streams.h.

◆ stream_stat

int(* _php_stream_wrapper_ops::stream_stat) (php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb)

Definition at line 138 of file php_streams.h.

◆ unlink

int(* _php_stream_wrapper_ops::unlink) (php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context)

Definition at line 148 of file php_streams.h.

◆ url_stat

int(* _php_stream_wrapper_ops::url_stat) (php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context)

Definition at line 140 of file php_streams.h.


The documentation for this struct was generated from the following file: