~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/result_client.h

  • Committer: Monty Taylor
  • Date: 2008-11-24 05:39:31 UTC
  • mto: This revision was merged to the branch mainline in revision 610.
  • Revision ID: mordred@solanthus.local-20081124053931-tzlxsgkdvs3b7n8n
Reverted libuuid check code. 

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 file in this directory for full text.
9
 
 */
10
 
 
11
 
/**
12
 
 * @file
13
 
 * @brief Result Declarations for Clients
14
 
 */
15
 
 
16
 
#ifndef __DRIZZLE_RESULT_CLIENT_H
17
 
#define __DRIZZLE_RESULT_CLIENT_H
18
 
 
19
 
#ifdef __cplusplus
20
 
extern "C" {
21
 
#endif
22
 
 
23
 
/**
24
 
 * @addtogroup drizzle_result_client Result Declarations for Clients
25
 
 * @ingroup drizzle_client_interface
26
 
 *
27
 
 * These functions read or buffer the result for a client command.
28
 
 * @{
29
 
 */
30
 
 
31
 
/**
32
 
 * Read result packet.
33
 
 */
34
 
DRIZZLE_API
35
 
drizzle_result_st *drizzle_result_read(drizzle_con_st *con,
36
 
                                       drizzle_result_st *result,
37
 
                                       drizzle_return_t *ret_ptr);
38
 
 
39
 
/**
40
 
 * Buffer all data for a result.
41
 
 */
42
 
DRIZZLE_API
43
 
drizzle_return_t drizzle_result_buffer(drizzle_result_st *result);
44
 
 
45
 
/**
46
 
 * Get result row packet size.
47
 
 */
48
 
DRIZZLE_API
49
 
size_t drizzle_result_row_size(drizzle_result_st *result);
50
 
 
51
 
/** @} */
52
 
 
53
 
#ifdef __cplusplus
54
 
}
55
 
#endif
56
 
 
57
 
#endif /* __DRIZZLE_RESULT_CLIENT_H */