summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_structs.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2009-12-21 16:52:10 +0000
committerAndrey Hristov <andrey@php.net>2009-12-21 16:52:10 +0000
commita3e5d1852ae1ef48e4df49022b67b033d00e28ea (patch)
tree41a36f00d6fa904cc55086bb8e8c95b626a058a0 /ext/mysqlnd/mysqlnd_structs.h
parent3e3d0e0d8841c00e5883bf03fb4708fe12c0fb1c (diff)
downloadphp-git-a3e5d1852ae1ef48e4df49022b67b033d00e28ea.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.h1
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);
};