1
/******************************************************
6
Created 6/25/1996 Heikki Tuuri
7
*******************************************************/
9
/***************************************************************************
10
Sets the message type of a message from the client. */
13
sess_cli_msg_set_type(
14
/*==================*/
15
byte* str, /* in: message string */
16
ulint type) /* in: message type */
18
mach_write_to_4(str + SESS_CLI_MSG_TYPE, type);
21
/***************************************************************************
22
Gets the message type of a message from the server. */
25
sess_srv_msg_get_type(
26
/*==================*/
27
/* out: message type */
28
byte* str) /* in: message string */
30
return(mach_read_from_4(str + SESS_SRV_MSG_TYPE));