Module Mysql_protocol.Mp_handshake

type handshake = {
packet_length : int;
packet_number : int;
protocol_version : int;
server_version : string;
thread_id : Stdlib.Int64.t;
scramble_buff_1 : Bitstring.t;
server_capabilities : Mp_capabilities.capabilities list;
server_language : Mp_charset.charset;
server_status : int;
length_scramble : int;
scramble_buff_2 : Bitstring.t;
}
val handshake_to_string : handshake -> string
val handshake_initialisation : Stdlib.in_channel -> 'a -> handshake