@@ -215,16 +215,16 @@ typedef struct _zend_utility_functions {
215215 void (* error_function )(int type , const char * error_filename , const uint32_t error_lineno , zend_string * message );
216216 size_t (* printf_function )(const char * format , ...) ZEND_ATTRIBUTE_PTR_FORMAT (printf , 1 , 2 );
217217 size_t (* write_function )(const char * str , size_t str_length );
218- FILE * (* fopen_function )(const char * filename , zend_string * * opened_path );
218+ FILE * (* fopen_function )(zend_string * filename , zend_string * * opened_path );
219219 void (* message_handler )(zend_long message , const void * data );
220220 zval * (* get_configuration_directive )(zend_string * name );
221221 void (* ticks_function )(int ticks );
222222 void (* on_timeout )(int seconds );
223- zend_result (* stream_open_function )(const char * filename , zend_file_handle * handle );
223+ zend_result (* stream_open_function )(zend_file_handle * handle );
224224 void (* printf_to_smart_string_function )(smart_string * buf , const char * format , va_list ap );
225225 void (* printf_to_smart_str_function )(smart_str * buf , const char * format , va_list ap );
226226 char * (* getenv_function )(const char * name , size_t name_len );
227- zend_string * (* resolve_path_function )(const char * filename , size_t filename_len );
227+ zend_string * (* resolve_path_function )(zend_string * filename );
228228} zend_utility_functions ;
229229
230230typedef struct _zend_utility_values {
@@ -303,16 +303,16 @@ END_EXTERN_C()
303303BEGIN_EXTERN_C ()
304304extern ZEND_API size_t (* zend_printf )(const char * format , ...) ZEND_ATTRIBUTE_PTR_FORMAT (printf , 1 , 2 );
305305extern ZEND_API zend_write_func_t zend_write ;
306- extern ZEND_API FILE * (* zend_fopen )(const char * filename , zend_string * * opened_path );
306+ extern ZEND_API FILE * (* zend_fopen )(zend_string * filename , zend_string * * opened_path );
307307extern ZEND_API void (* zend_ticks_function )(int ticks );
308308extern ZEND_API void (* zend_interrupt_function )(zend_execute_data * execute_data );
309309extern ZEND_API void (* zend_error_cb )(int type , const char * error_filename , const uint32_t error_lineno , zend_string * message );
310310extern ZEND_API void (* zend_on_timeout )(int seconds );
311- extern ZEND_API zend_result (* zend_stream_open_function )(const char * filename , zend_file_handle * handle );
311+ extern ZEND_API zend_result (* zend_stream_open_function )(zend_file_handle * handle );
312312extern void (* zend_printf_to_smart_string )(smart_string * buf , const char * format , va_list ap );
313313extern void (* zend_printf_to_smart_str )(smart_str * buf , const char * format , va_list ap );
314314extern ZEND_API char * (* zend_getenv )(const char * name , size_t name_len );
315- extern ZEND_API zend_string * (* zend_resolve_path )(const char * filename , size_t filename_len );
315+ extern ZEND_API zend_string * (* zend_resolve_path )(zend_string * filename );
316316
317317/* These two callbacks are especially for opcache */
318318extern ZEND_API zend_result (* zend_post_startup_cb )(void );
0 commit comments