2
* Drizzle Client & Protocol Library
4
* Copyright (C) 2008 Eric Day (eday@oddments.org)
7
* Use and distribution licensed under the BSD license. See
8
* the COPYING file in this directory for full text.
13
* @brief Handshake Declarations for Clients
16
#ifndef __DRIZZLE_HANDSHAKE_CLIENT_H
17
#define __DRIZZLE_HANDSHAKE_CLIENT_H
24
* @addtogroup drizzle_handshake_client Handshake Declarations for Clients
25
* @ingroup drizzle_client_interface
27
* These functions are used to send and receive handshake packets for a client.
28
* These are only used by low-level clients when the DRIZZLE_CON_RAW_PACKET
29
* option is set, so most applications will never need to use these.
34
* Read handshake packet from the server in a client.
36
* @param[in] con Connection structure previously initialized with
37
* drizzle_con_create(), drizzle_con_clone(), or related functions.
38
* @return Standard drizzle return value.
41
drizzle_return_t drizzle_handshake_server_read(drizzle_con_st *con);
44
* Write client handshake packet to a server.
46
* @param[in] con Connection structure previously initialized with
47
* drizzle_con_create(), drizzle_con_clone(), or related functions.
48
* @return Standard drizzle return value.
51
drizzle_return_t drizzle_handshake_client_write(drizzle_con_st *con);
59
#endif /* __DRIZZLE_HANDSHAKE_CLIENT_H */