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 Field Declarations for Clients
16
#ifndef __DRIZZLE_FIELD_CLIENT_H
17
#define __DRIZZLE_FIELD_CLIENT_H
24
* @addtogroup drizzle_field_client Field Declarations for Clients
25
* @ingroup drizzle_client_interface
27
* These functions allow you to access fields in a result set if the result is
28
* unbuffered. If the result is buffered, you can access the fields through the
34
* Read field for unbuffered result, possibly in parts. This is especially
35
* useful for blob streaming, since the client does not need to buffer the
39
drizzle_field_t drizzle_field_read(drizzle_result_st *result, size_t *offset,
40
size_t *size, size_t *total,
41
drizzle_return_t *ret_ptr);
47
drizzle_field_t drizzle_field_buffer(drizzle_result_st *result, size_t *total,
48
drizzle_return_t *ret_ptr);
51
* Free a buffered field.
54
void drizzle_field_free(drizzle_field_t field);
62
#endif /* __DRIZZLE_FIELD_CLIENT_H */