libdrizzle Developer Documentation

Handshake Declarations for Clients
[Drizzle Client Interface]

Functions

drizzle_return_t drizzle_handshake_server_read (drizzle_con_st *con)
drizzle_return_t drizzle_handshake_client_write (drizzle_con_st *con)

Detailed Description

These functions are used to send and receive handshake packets for a client. These are only used by low-level clients when the DRIZZLE_CON_RAW_PACKET option is set, so most applications will never need to use these.


Function Documentation

drizzle_return_t drizzle_handshake_server_read ( drizzle_con_st con  ) 

Read handshake packet from the server in a client.

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

Definition at line 22 of file handshake.c.

drizzle_return_t drizzle_handshake_client_write ( drizzle_con_st con  ) 

Write client handshake packet to a server.

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

Definition at line 33 of file handshake.c.

Generated on Tue Mar 23 16:47:48 2010 by  doxygen 1.6.3