@@ -193,7 +193,7 @@ typedef struct _zend_utility_functions {
193
193
void (* error_function )(int type , const char * error_filename , const uint error_lineno , const char * format , va_list args ) ZEND_ATTRIBUTE_PTR_FORMAT (printf , 4 , 0 );
194
194
size_t (* printf_function )(const char * format , ...) ZEND_ATTRIBUTE_PTR_FORMAT (printf , 1 , 2 );
195
195
size_t (* write_function )(const char * str , size_t str_length );
196
- FILE * (* fopen_function )(const char * filename , char * * opened_path );
196
+ FILE * (* fopen_function )(const char * filename , zend_string * * opened_path );
197
197
void (* message_handler )(zend_long message , const void * data );
198
198
void (* block_interruptions )(void );
199
199
void (* unblock_interruptions )(void );
@@ -204,7 +204,7 @@ typedef struct _zend_utility_functions {
204
204
size_t (* vspprintf_function )(char * * pbuf , size_t max_len , const char * format , va_list ap );
205
205
zend_string * (* vstrpprintf_function )(size_t max_len , const char * format , va_list ap );
206
206
char * (* getenv_function )(char * name , size_t name_len );
207
- char * (* resolve_path_function )(const char * filename , int filename_len );
207
+ zend_string * (* resolve_path_function )(const char * filename , int filename_len );
208
208
} zend_utility_functions ;
209
209
210
210
typedef struct _zend_utility_values {
@@ -272,7 +272,7 @@ END_EXTERN_C()
272
272
BEGIN_EXTERN_C ()
273
273
extern ZEND_API size_t (* zend_printf )(const char * format , ...) ZEND_ATTRIBUTE_PTR_FORMAT (printf , 1 , 2 );
274
274
extern ZEND_API zend_write_func_t zend_write ;
275
- extern ZEND_API FILE * (* zend_fopen )(const char * filename , char * * opened_path );
275
+ extern ZEND_API FILE * (* zend_fopen )(const char * filename , zend_string * * opened_path );
276
276
extern ZEND_API void (* zend_block_interruptions )(void );
277
277
extern ZEND_API void (* zend_unblock_interruptions )(void );
278
278
extern ZEND_API void (* zend_ticks_function )(int ticks );
@@ -282,7 +282,7 @@ extern ZEND_API int (*zend_stream_open_function)(const char *filename, zend_file
282
282
extern size_t (* zend_vspprintf )(char * * pbuf , size_t max_len , const char * format , va_list ap );
283
283
extern zend_string * (* zend_vstrpprintf )(size_t max_len , const char * format , va_list ap );
284
284
extern ZEND_API char * (* zend_getenv )(char * name , size_t name_len );
285
- extern ZEND_API char * (* zend_resolve_path )(const char * filename , int filename_len );
285
+ extern ZEND_API zend_string * (* zend_resolve_path )(const char * filename , int filename_len );
286
286
287
287
ZEND_API void zend_error (int type , const char * format , ...) ZEND_ATTRIBUTE_FORMAT (printf , 2 , 3 );
288
288
0 commit comments