diff options
Diffstat (limited to 'main/streams/php_stream_context.h')
-rw-r--r-- | main/streams/php_stream_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/streams/php_stream_context.h b/main/streams/php_stream_context.h index 7263aa4511..bfd6d0df1a 100644 --- a/main/streams/php_stream_context.h +++ b/main/streams/php_stream_context.h @@ -52,6 +52,9 @@ struct _php_stream_notifier { struct _php_stream_context { php_stream_notifier *notifier; + char *output_encoding; /* unicode->string character set */ + char *input_encoding; /* string->unicode character set */ + int default_mode; /* default fopen mode -- PHP_FILE_BINARY vs. PHP_FILE_TEXT -- potentially support other fpc() flags later */ zval *options; /* hash keyed by wrapper family or specific wrapper */ zval *links; /* hash keyed by hostent for connection pooling */ int rsrc_id; /* used for auto-cleanup */ |