diff options
| author | Sara Golemon <pollita@php.net> | 2003-05-21 04:04:50 +0000 |
|---|---|---|
| committer | Sara Golemon <pollita@php.net> | 2003-05-21 04:04:50 +0000 |
| commit | 83b7b75c3ca407a2e28896441a18cf9817cc212e (patch) | |
| tree | 0f2c09e60a3608d6551ea80c253b9f746ed93f4f /ext/standard/file.h | |
| parent | b078f60fce48cbe01bee9db5dfcaf68b4ef304cf (diff) | |
| download | php-git-83b7b75c3ca407a2e28896441a18cf9817cc212e.tar.gz | |
Implement default contexts. For the moment this is useless
but it will be used soon for connection pooling.
Diffstat (limited to 'ext/standard/file.h')
| -rw-r--r-- | ext/standard/file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/file.h b/ext/standard/file.h index c797bd11fb..014cf33553 100644 --- a/ext/standard/file.h +++ b/ext/standard/file.h @@ -78,6 +78,7 @@ PHPAPI int php_copy_file(char *src, char *dest TSRMLS_DC); #define PHP_FILE_IGNORE_NEW_LINES 2 #define PHP_FILE_SKIP_EMPTY_LINES 4 #define PHP_FILE_APPEND 8 +#define PHP_FILE_NO_DEFAULT_CONTEXT 16 typedef enum _php_meta_tags_token { TOK_EOF = 0, @@ -110,6 +111,7 @@ typedef struct { long default_socket_timeout; char *user_agent; char *user_stream_current_filename; /* for simple recursion protection */ + php_stream_context *default_context; } php_file_globals; #ifdef ZTS |
