diff options
author | Andrey Hristov <andrey@php.net> | 2011-10-31 11:46:24 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2011-10-31 11:46:24 +0000 |
commit | 8fb6bdd5b82fbfeb295f9a3d181a29606f7f670d (patch) | |
tree | 73a7516959ea1b8d464c7b816d407cff91d1ba16 /ext/mysqlnd/mysqlnd_wireprotocol.h | |
parent | 63812d1849fed668b773b781c957144221019033 (diff) | |
download | php-git-8fb6bdd5b82fbfeb295f9a3d181a29606f7f670d.tar.gz |
Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.
A step in the direction of keeping internal data private
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_wireprotocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h index 4f97711adf..e4218211ee 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.h +++ b/ext/mysqlnd/mysqlnd_wireprotocol.h @@ -51,8 +51,8 @@ PHPAPI extern const char * const mysqlnd_command_to_text[COM_END]; /* Low-level extraction functionality */ typedef struct st_mysqlnd_packet_methods { size_t struct_size; - enum_func_status (*read_from_net)(void *packet, MYSQLND *conn TSRMLS_DC); - size_t (*write_to_net)(void *packet, MYSQLND *conn TSRMLS_DC); + enum_func_status (*read_from_net)(void * packet, MYSQLND_CONN_DATA * conn TSRMLS_DC); + size_t (*write_to_net)(void * packet, MYSQLND_CONN_DATA * conn TSRMLS_DC); void (*free_mem)(void *packet, zend_bool stack_allocation TSRMLS_DC); } mysqlnd_packet_methods; |