version 1.1.1.1, 2012/02/21 23:48:02
|
version 1.1.1.3, 2013/07/22 01:32:05
|
Line 2
|
Line 2
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| PHP Version 5 | |
| PHP Version 5 | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 1997-2012 The PHP Group | | | Copyright (c) 1997-2013 The PHP Group | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| This source file is subject to version 3.01 of the PHP license, | |
| 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 | |
| that is bundled with this package in the file LICENSE, and is | |
Line 72 PHP_FUNCTION(sys_get_temp_dir);
|
Line 72 PHP_FUNCTION(sys_get_temp_dir);
|
|
|
PHP_MINIT_FUNCTION(user_streams); |
PHP_MINIT_FUNCTION(user_streams); |
|
|
PHPAPI int php_le_stream_context(void); | PHPAPI int php_le_stream_context(TSRMLS_D); |
PHPAPI int php_set_sock_blocking(int socketd, int block TSRMLS_DC); |
PHPAPI int php_set_sock_blocking(int socketd, int block TSRMLS_DC); |
PHPAPI int php_copy_file(char *src, char *dest TSRMLS_DC); |
PHPAPI int php_copy_file(char *src, char *dest TSRMLS_DC); |
PHPAPI int php_copy_file_ex(char *src, char *dest, int src_chk TSRMLS_DC); |
PHPAPI int php_copy_file_ex(char *src, char *dest, int src_chk TSRMLS_DC); |
PHPAPI int php_copy_file_ctx(char *src, char *dest, int src_chk, php_stream_context *context TSRMLS_DC); | PHPAPI int php_copy_file_ctx(char *src, char *dest, int src_chk, php_stream_context *ctx TSRMLS_DC); |
PHPAPI int php_mkdir_ex(char *dir, long mode, int options TSRMLS_DC); |
PHPAPI int php_mkdir_ex(char *dir, long mode, int options TSRMLS_DC); |
PHPAPI int php_mkdir(char *dir, long mode TSRMLS_DC); |
PHPAPI int php_mkdir(char *dir, long mode TSRMLS_DC); |
PHPAPI void php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value TSRMLS_DC); |
PHPAPI void php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value TSRMLS_DC); |
|
PHPAPI int php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC); |
|
|
#define META_DEF_BUFSIZE 8192 |
#define META_DEF_BUFSIZE 8192 |
|
|
Line 119 typedef struct {
|
Line 120 typedef struct {
|
long auto_detect_line_endings; |
long auto_detect_line_endings; |
long default_socket_timeout; |
long default_socket_timeout; |
char *user_agent; /* for the http wrapper */ |
char *user_agent; /* for the http wrapper */ |
|
char *from_address; /* for the ftp and http wrappers */ |
char *user_stream_current_filename; /* for simple recursion protection */ |
char *user_stream_current_filename; /* for simple recursion protection */ |
php_stream_context *default_context; |
php_stream_context *default_context; |
HashTable *stream_wrappers; /* per-request copy of url_stream_wrappers_hash */ |
HashTable *stream_wrappers; /* per-request copy of url_stream_wrappers_hash */ |
HashTable *stream_filters; /* per-request copy of stream_filters_hash */ |
HashTable *stream_filters; /* per-request copy of stream_filters_hash */ |
|
HashTable *wrapper_errors; /* key: wrapper address; value: linked list of char* */ |
} php_file_globals; |
} php_file_globals; |
|
|
#ifdef ZTS |
#ifdef ZTS |