php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
stream.c File Reference
#include "phar_internal.h"
#include "stream.h"
#include "dirstream.h"

Go to the source code of this file.

Macros

#define PHAR_STREAM   1
 

Functions

php_urlphar_parse_url (php_stream_wrapper *wrapper, const char *filename, const char *mode, int options)
 
void phar_dostat (phar_archive_data *phar, phar_entry_info *data, php_stream_statbuf *ssb, bool is_temp_dir)
 

Variables

const php_stream_wrapper php_stream_phar_wrapper
 

Macro Definition Documentation

◆ PHAR_STREAM

#define PHAR_STREAM   1

Definition at line 20 of file stream.c.

Function Documentation

◆ phar_dostat()

void phar_dostat ( phar_archive_data * phar,
phar_entry_info * data,
php_stream_statbuf * ssb,
bool is_temp_dir )

stat an opened phar file handle stream, used by phar_stat()

Definition at line 492 of file stream.c.

◆ phar_parse_url()

php_url * phar_parse_url ( php_stream_wrapper * wrapper,
const char * filename,
const char * mode,
int options )

Open a phar file for streams API

Definition at line 60 of file stream.c.

Variable Documentation

◆ php_stream_phar_wrapper

const php_stream_wrapper php_stream_phar_wrapper
Initial value:
= {
&phar_stream_wops,
0
}
#define NULL
Definition gdcache.h:45

Definition at line 51 of file stream.c.