~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to libdrizzle/handshake_server.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Drizzle Client & Protocol Library
 
3
 *
 
4
 * Copyright (C) 2008 Eric Day (eday@oddments.org)
 
5
 * All rights reserved.
 
6
 *
 
7
 * Use and distribution licensed under the BSD license.  See
 
8
 * the COPYING.BSD file in the root source directory for full text.
 
9
 */
 
10
 
 
11
/**
 
12
 * @file
 
13
 * @brief Handshake Declarations for Servers
 
14
 */
 
15
 
 
16
#ifndef __DRIZZLE_HANDSHAKE_SERVER_H
 
17
#define __DRIZZLE_HANDSHAKE_SERVER_H
 
18
 
 
19
#ifdef __cplusplus
 
20
extern "C" {
 
21
#endif
 
22
 
 
23
/**
 
24
 * @addtogroup drizzle_handshake_server Handshake Declarations for Servers
 
25
 * @ingroup drizzle_server_interface
 
26
 *
 
27
 * These functions are used to send and receive handshake packets in a server.
 
28
 * @{
 
29
 */
 
30
 
 
31
/**
 
32
 * Write server handshake packet to a client.
 
33
 *
 
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.
 
37
 */
 
38
DRIZZLE_API
 
39
drizzle_return_t drizzle_handshake_server_write(drizzle_con_st *con);
 
40
 
 
41
/**
 
42
 * Read handshake packet from the client in a server.
 
43
 *
 
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.
 
47
 */
 
48
DRIZZLE_API
 
49
drizzle_return_t drizzle_handshake_client_read(drizzle_con_st *con);
 
50
 
 
51
/** @} */
 
52
 
 
53
#ifdef __cplusplus
 
54
}
 
55
#endif
 
56
 
 
57
#endif /* __DRIZZLE_HANDSHAKE_SERVER_H */