30#ifndef _mysql_com_server_h
31#define _mysql_com_server_h
42 size_t count,
bool rc);
#define COMPRESSION_ALGORITHM_NAME_LENGTH_MAX
Definition: compression.h:40
@ MYSQL_UNCOMPRESSED
Definition: my_compress.h:29
Some integer typedefs for easier portability.
static int count
Definition: myisam_ftdump.cc:43
void net_server_ext_init(NET_SERVER *ns)
Definition: mysql_com_server.h:68
struct NET_SERVER NET_SERVER
void(* after_header_callback_fn)(NET *net, void *user_data, size_t count, bool rc)
Definition: mysql_com_server.h:41
void(* before_header_callback_fn)(NET *net, void *user_data, size_t count)
Definition: mysql_com_server.h:38
Definition: mysql_com_server.h:59
after_header_callback_fn m_after_header
Definition: mysql_com_server.h:61
struct compression_attributes compression
Definition: mysql_com_server.h:63
before_header_callback_fn m_before_header
Definition: mysql_com_server.h:60
void * m_user_data
Definition: mysql_com_server.h:62
bool timeout_on_full_packet
Definition: mysql_com_server.h:65
mysql_compress_context compress_ctx
Definition: mysql_com_server.h:64
Definition: mysql_com.h:913
This structure holds the negotiated compression algorithm and level between client and server.
Definition: mysql_com_server.h:48
bool compression_optional
Definition: mysql_com_server.h:51
unsigned int compress_level
Definition: mysql_com_server.h:50
char compress_algorithm[COMPRESSION_ALGORITHM_NAME_LENGTH_MAX]
Definition: mysql_com_server.h:49
compression_attributes()
Definition: mysql_com_server.h:52
Compression context information.
Definition: my_compress.h:74
enum enum_compression_algorithm algorithm
Compression algorithm name.
Definition: my_compress.h:75