Searched defs:net (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_driver.c10 | http://www.php.net/license/3_01.txt |
13 | license@php.net so we can mail you a copy immediately. |
258 MYSQLND_NET * net = mnd_pecalloc(1, net_alloc_size, persistent); local
263 if (net && net_data) {
264 net->data = net_data;
265 net->persistent = net->data->persistent = persistent;
266 net->data->m = *mysqlnd_net_get_methods();
268 if (PASS != net->data->m.init(net, stat
[all...]
H A Dmysqlnd_ext_plugin.c10 | http://www.php.net/license/3_01.txt |
13 | license@php.net so we can mail you a copy immediately. |
139 PHPAPI void ** _mysqlnd_plugin_get_plugin_net_data(const MYSQLND_NET * net, unsigned int plugin_id TSRMLS_DC) argument
143 if (!net || plugin_id >= mysqlnd_plugin_count()) {
146 DBG_RETURN((void *)((char *)net + sizeof(MYSQLND_NET) + plugin_id * sizeof(void *)));
H A Dmysqlnd_loaddata.c10 | http://www.php.net/license/3_01.txt |
13 | license@php.net so we can mail you a copy immediately. |
154 MYSQLND_NET * net = conn->net; local
161 ret = net->data->m.send_ex(net, empty_packet, 0, conn->stats, conn->error_info TSRMLS_CC);
181 ret = net->data->m.send_ex(net, empty_packet, 0, conn->stats, conn->error_info TSRMLS_CC);
187 if ((ret = net->data->m.send_ex(net, bu
[all...]
H A Dmysqlnd_net.c10 | http://www.php.net/license/3_01.txt |
13 | license@php.net so we can mail you a copy immediately. |
66 MYSQLND_METHOD(mysqlnd_net, network_read_ex)(MYSQLND_NET * const net, zend_uchar * const buffer, const size_t count,
70 php_stream * net_stream = net->data->m.get_stream(net TSRMLS_CC);
78 net_stream->chunk_size = MIN(to_read, net->data->options.net_read_buffer_size);
97 MYSQLND_METHOD(mysqlnd_net, network_write_ex)(MYSQLND_NET * const net, const zend_uchar * const buffer, const size_t count,
103 ret = php_stream_write(net->data->m.get_stream(net TSRMLS_CC), (char *)buffer, count);
111 MYSQLND_METHOD(mysqlnd_net, open_pipe)(MYSQLND_NET * const net, cons
1151 MYSQLND_NET * net; variable
1154 DBG_RETURN(net); variable
1161 mysqlnd_net_free(MYSQLND_NET * const net, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info TSRMLS_DC) argument
[all...]
H A Dmysqlnd_wireprotocol.c10 | http://www.php.net/license/3_01.txt |
13 | license@php.net so we can mail you a copy immediately. |
38 if (FAIL == mysqlnd_read_header((conn)->net, &((packet)->header), (conn)->stats, ((conn)->error_info) TSRMLS_CC)) {\
50 if (FAIL == conn->net->data->m.receive_ex((conn)->net, (buf), (packet)->header.size, (conn)->stats, ((conn)->error_info) TSRMLS_CC)) { \
278 mysqlnd_read_header(MYSQLND_NET * net, MYSQLND_PACKET_HEADER * header, argument
284 DBG_INF_FMT("compressed=%u", net->data->compressed);
285 if (FAIL == net->data->m.receive_ex(net, buffer, MYSQLND_HEADER_SIZE, conn_stats, error_info TSRMLS_CC)) {
299 if (net
1011 MYSQLND_NET * net = conn->net; local
[all...]
H A Dmysqlnd.c10 | http://www.php.net/license/3_01.txt |
13 | license@php.net so we can mail you a copy immediately. |
121 if (conn->net) {
122 conn->net->data->m.free_contents(conn->net TSRMLS_CC);
191 if (conn->net) {
192 mysqlnd_net_free(conn->net, conn->stats, conn->error_info TSRMLS_CC);
193 conn->net = NULL;
502 conn->net->data->m.set_client_option(conn->net, MYSQL_OPT_SSL_VERIFY_SERVER_CER
734 MYSQLND_NET * net = conn->net; local
781 MYSQLND_NET * net = conn->net; local
871 MYSQLND_NET * net = conn->net; local
1607 MYSQLND_NET * net = conn->net; local
1888 MYSQLND_NET * net = conn->net; local
[all...]
H A Dmysqlnd_structs.h10 | http://www.php.net/license/3_01.txt |
13 | license@php.net so we can mail you a copy immediately. |
282 typedef enum_func_status (*func_mysqlnd_net__set_client_option)(MYSQLND_NET * const net, enum_mysqlnd_option option, const char * const value TSRMLS_DC);
285 typedef size_t (*func_mysqlnd_net__consume_uneaten_data)(MYSQLND_NET * const net, enum php_mysqlnd_server_command cmd TSRMLS_DC);
286 typedef void (*func_mysqlnd_net__free_contents)(MYSQLND_NET * net TSRMLS_DC);
287 typedef enum_func_status (*func_mysqlnd_net__enable_ssl)(MYSQLND_NET * const net TSRMLS_DC);
288 typedef enum_func_status (*func_mysqlnd_net__disable_ssl)(MYSQLND_NET * const net TSRMLS_DC);
289 typedef enum_func_status (*func_mysqlnd_net__network_read_ex)(MYSQLND_NET * const net, zend_uchar * const buffer, const size_t count, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC);
290 typedef size_t (*func_mysqlnd_net__network_write_ex)(MYSQLND_NET * const net, const zend_uchar * const buf, const size_t count, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC);
291 typedef size_t (*func_mysqlnd_net__send_ex)(MYSQLND_NET * const net, zend_ucha
901 MYSQLND_NET * net; member in struct:st_mysqlnd_connection_data
[all...]

Completed in 17 milliseconds