diff options
author | Andrey Hristov <andrey@php.net> | 2009-12-15 17:33:06 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2009-12-15 17:33:06 +0000 |
commit | 1fc65ed8bb85a09dd8847c5f555d1afb4002aa0f (patch) | |
tree | 93703c0877fd2d75839bee997b0b976d7ff22512 /ext/mysqlnd/mysqlnd_structs.h | |
parent | 37cbcf3850a549d8bcd20eb650f2d6a5aaed980a (diff) | |
download | php-git-1fc65ed8bb85a09dd8847c5f555d1afb4002aa0f.tar.gz |
Move code out of mysqlnd_conn::connect to mysqlnd_net::connect.
Thus mysqlnd_conn::connect() does less of what it should not do - think
about the transport level.
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 6e4985d87b..a791e7dc95 100644 --- a/ext/mysqlnd/mysqlnd_structs.h +++ b/ext/mysqlnd/mysqlnd_structs.h @@ -230,6 +230,7 @@ typedef struct st_mysqlnd_read_buffer { struct st_mysqlnd_net_methods { + enum_func_status (*connect)(MYSQLND_NET * net, const char * const scheme, size_t scheme_len, zend_bool persistent, char **errstr, int * errcode TSRMLS_DC); enum_func_status (*stream_read)(MYSQLND * conn, zend_uchar * buffer, size_t count TSRMLS_DC); size_t (*stream_write)(MYSQLND * const conn, const zend_uchar * const buf, size_t count TSRMLS_DC); enum_func_status (*set_client_option)(MYSQLND_NET * const net, enum_mysqlnd_option option, const char * const value TSRMLS_DC); |