@@ -174,6 +174,12 @@ typedef struct st_mysqlnd_infile_info
174
174
} MYSQLND_INFILE_INFO ;
175
175
176
176
177
+ typedef int (* func_mysqlnd_local_infile__init )(void * * ptr , const char * const filename );
178
+ typedef int (* func_mysqlnd_local_infile__read )(void * ptr , zend_uchar * buf , unsigned int buf_len );
179
+ typedef int (* func_mysqlnd_local_infile__error )(void * ptr , char * error_msg , unsigned int error_msg_len );
180
+ typedef void (* func_mysqlnd_local_infile__end )(void * ptr );
181
+
182
+
177
183
/* character set information */
178
184
typedef struct st_mysqlnd_charset
179
185
{
@@ -191,12 +197,13 @@ typedef struct st_mysqlnd_charset
191
197
/* local infile handler */
192
198
typedef struct st_mysqlnd_infile
193
199
{
194
- int ( * local_infile_init )( void * * ptr , const char * const filename ) ;
195
- int ( * local_infile_read )( void * ptr , zend_uchar * buf , unsigned int buf_len ) ;
196
- int ( * local_infile_error )( void * ptr , char * error_msg , unsigned int error_msg_len ) ;
197
- void ( * local_infile_end )( void * ptr ) ;
200
+ func_mysqlnd_local_infile__init local_infile_init ;
201
+ func_mysqlnd_local_infile__read local_infile_read ;
202
+ func_mysqlnd_local_infile__error local_infile_error ;
203
+ func_mysqlnd_local_infile__end local_infile_end ;
198
204
} MYSQLND_INFILE ;
199
205
206
+
200
207
typedef struct st_mysqlnd_session_options
201
208
{
202
209
ulong flags ;
0 commit comments