diff options
author | Andrey Hristov <andrey@php.net> | 2009-12-21 16:52:10 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2009-12-21 16:52:10 +0000 |
commit | 41ac91aecf4600ac2a920aa6e63b443c7cc52552 (patch) | |
tree | 539d85961e2e8a42ebc29c151dac0f8128a1b8eb /ext/mysqlnd/mysqlnd_structs.h | |
parent | ce349e3540732ac04600f691de9fb90db56fc1ab (diff) | |
download | php-git-41ac91aecf4600ac2a920aa6e63b443c7cc52552.tar.gz |
Move this function to MYSQLND_NET as it works on the
php stream
Diffstat (limited to 'ext/mysqlnd/mysqlnd_structs.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_structs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h index b8ce0bd89d..96f46324ea 100644 --- a/ext/mysqlnd/mysqlnd_structs.h +++ b/ext/mysqlnd/mysqlnd_structs.h @@ -238,6 +238,7 @@ struct st_mysqlnd_net_methods size_t (*network_write)(MYSQLND * const conn, const zend_uchar * const buf, size_t count TSRMLS_DC); enum_func_status (*decode)(zend_uchar * uncompressed_data, size_t uncompressed_data_len, const zend_uchar * const compressed_data, size_t compressed_data_len TSRMLS_DC); enum_func_status (*encode)(zend_uchar * compress_buffer, size_t compress_buffer_len, const zend_uchar * const uncompressed_data, size_t uncompressed_data_len TSRMLS_DC); + size_t (*consume_uneaten_data)(MYSQLND_NET * const net, enum php_mysqlnd_server_command cmd TSRMLS_DC); void (*free_contents)(MYSQLND_NET * net TSRMLS_DC); }; |