diff options
author | Andrey Hristov <andrey@php.net> | 2009-12-11 10:18:00 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2009-12-11 10:18:00 +0000 |
commit | 2cc95115f3e380eb2002a837120e40c505bddd04 (patch) | |
tree | 9f78c460d3c9650347a3c645f7f266e5ad08bc75 /ext/mysqlnd/mysqlnd_structs.h | |
parent | fc622cadee7bbf7356b9a64c4d8cd846b13d2bd4 (diff) | |
download | php-git-2cc95115f3e380eb2002a837120e40c505bddd04.tar.gz |
Move two functions which are used in the extension as methods of
the connection. Two functions less in the global namespace.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_structs.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_structs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h index 9409f0308a..aadf28a81a 100644 --- a/ext/mysqlnd/mysqlnd_structs.h +++ b/ext/mysqlnd/mysqlnd_structs.h @@ -305,6 +305,9 @@ struct st_mysqlnd_conn_methods enum_func_status (*free_reference)(MYSQLND * const conn TSRMLS_DC); enum mysqlnd_connection_state (*get_state)(MYSQLND * const conn TSRMLS_DC); void (*set_state)(MYSQLND * const conn, enum mysqlnd_connection_state new_state TSRMLS_DC); + + enum_func_status (*simple_command)(MYSQLND *conn, enum php_mysqlnd_server_command command, const char * const arg, size_t arg_len, enum php_mysql_packet_type ok_packet, zend_bool silent, zend_bool ignore_upsert_status TSRMLS_DC); + enum_func_status (*simple_command_handle_response)(MYSQLND *conn, enum php_mysql_packet_type ok_packet, zend_bool silent, enum php_mysqlnd_server_command command, zend_bool ignore_upsert_status TSRMLS_DC); }; @@ -348,8 +351,6 @@ struct st_mysqlnd_res_methods zend_bool persistent, zend_bool as_unicode, zend_bool as_int_or_float, MYSQLND_STATS * stats TSRMLS_DC); - - }; |