#include <my_global.h>
#include <mysql.h>
#include <mysql_embed.h>
#include <mysql_com.h>
#include <mysqld_error.h>
#include <my_sys.h>
#include <m_string.h>
#include <my_net.h>
#include <violite.h>
#include <signal.h>
#include <errno.h>
#include "thr_alarm.h"
'defines' |
#define | NO_ALARM |
#define | DONT_USE_THR_ALARM |
#define | update_statistics(A) |
#define | thd_increment_bytes_sent(N) |
#define | TEST_BLOCKING 8 |
#define | MAX_PACKET_LENGTH (256L*256L*256L-1) |
#define | NET_DATA_IS_READY_CAN_RETURN_MINUS_ONE |
Funciones |
my_bool | my_net_init (NET *net, Vio *vio) |
void | net_end (NET *net) |
my_bool | net_realloc (NET *net, ulong length) |
void | net_clear (NET *net) |
my_bool | net_flush (NET *net) |
my_bool | my_net_write (NET *net, const char *packet, ulong len) |
my_bool | net_write_command (NET *net, uchar command, const char *header, ulong head_len, const char *packet, ulong len) |
int | net_real_write (NET *net, const char *packet, ulong len) |
ulong | my_net_read (NET *net) |
void | my_net_set_read_timeout (NET *net, uint timeout) |
void | my_net_set_write_timeout (NET *net, uint timeout) |
Documentación de los 'defines'
#define DONT_USE_THR_ALARM |
#define MAX_PACKET_LENGTH (256L*256L*256L-1) |
#define NET_DATA_IS_READY_CAN_RETURN_MINUS_ONE |
#define thd_increment_bytes_sent |
( |
|
N | ) |
|
#define update_statistics |
( |
|
A | ) |
|
Documentación de las funciones
void my_net_set_read_timeout |
( |
NET * |
net, |
|
|
uint |
timeout |
|
) |
| |
void my_net_set_write_timeout |
( |
NET * |
net, |
|
|
uint |
timeout |
|
) |
| |
void net_clear |
( |
NET * |
net | ) |
|
void net_end |
( |
NET * |
net | ) |
|
int net_real_write |
( |
NET * |
net, |
|
|
const char * |
packet, |
|
|
ulong |
len |
|
) |
| |