Detailed Description
These functions extend the core connection functions with a set of functions for server application use. These functions allow you to set raw handshake in formation for use with the handshake write functions.
Function Documentation
| void drizzle_con_set_protocol_version |
( |
drizzle_con_st * |
con, |
|
|
uint8_t |
protocol_version | |
|
) |
| | |
Set protocol version for a connection.
Definition at line 610 of file conn.c.
| void drizzle_con_set_server_version |
( |
drizzle_con_st * |
con, |
|
|
const char * |
server_version | |
|
) |
| | |
Set server version string for a connection.
Definition at line 616 of file conn.c.
| void drizzle_con_set_thread_id |
( |
drizzle_con_st * |
con, |
|
|
uint32_t |
thread_id | |
|
) |
| | |
Set thread ID for a connection.
Definition at line 629 of file conn.c.
| void drizzle_con_set_scramble |
( |
drizzle_con_st * |
con, |
|
|
const uint8_t * |
scramble | |
|
) |
| | |
Set scramble buffer for a connection.
Definition at line 634 of file conn.c.
Set capabilities for a connection.
Definition at line 645 of file conn.c.
Set charset for a connection.
Definition at line 651 of file conn.c.
Set status for a connection.
Definition at line 656 of file conn.c.
| void drizzle_con_set_max_packet_size |
( |
drizzle_con_st * |
con, |
|
|
uint32_t |
max_packet_size | |
|
) |
| | |
Set max packet size for a connection.
Definition at line 661 of file conn.c.
Copy all handshake information from one connection into another.
Definition at line 667 of file conn.c.