libdrizzle Public API Documentation

Functions
Handshake Declarations for Servers
Drizzle Server Interface

Functions

drizzle_return_t drizzle_handshake_server_write (drizzle_con_st *con)
drizzle_return_t drizzle_handshake_client_read (drizzle_con_st *con)

Detailed Description

These functions are used to send and receive handshake packets in a server.


Function Documentation

Write server handshake packet to a client.

Parameters:
[in]conConnection structure previously initialized with drizzle_con_create(), drizzle_con_clone(), or related functions.
Returns:
Standard drizzle return value.

Read handshake packet from the client in a server.

Parameters:
[in]conConnection structure previously initialized with drizzle_con_create(), drizzle_con_clone(), or related functions.
Returns:
Standard drizzle return value.