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 Servers
16
#ifndef __DRIZZLE_HANDSHAKE_SERVER_H
17
#define __DRIZZLE_HANDSHAKE_SERVER_H
24
* @addtogroup drizzle_handshake_server Handshake Declarations for Servers
25
* @ingroup drizzle_server_interface
27
* These functions are used to send and receive handshake packets in a server.
32
* Write server handshake packet to a client.
34
* @param[in] con Connection structure previously initialized with
35
* drizzle_con_create(), drizzle_con_clone(), or related functions.
36
* @return Standard drizzle return value.
39
drizzle_return_t drizzle_handshake_server_write(drizzle_con_st *con);
42
* Read handshake packet from the client in a server.
44
* @param[in] con Connection structure previously initialized with
45
* drizzle_con_create(), drizzle_con_clone(), or related functions.
46
* @return Standard drizzle return value.
49
drizzle_return_t drizzle_handshake_client_read(drizzle_con_st *con);
57
#endif /* __DRIZZLE_HANDSHAKE_SERVER_H */