libdrizzle Public API Documentation

libdrizzle/field_client.h
Go to the documentation of this file.
00001 /*
00002  * Drizzle Client & Protocol Library
00003  *
00004  * Copyright (C) 2008 Eric Day (eday@oddments.org)
00005  * All rights reserved.
00006  *
00007  * Use and distribution licensed under the BSD license.  See
00008  * the COPYING file in this directory for full text.
00009  */
00010 
00016 #ifndef __DRIZZLE_FIELD_CLIENT_H
00017 #define __DRIZZLE_FIELD_CLIENT_H
00018 
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022 
00038 DRIZZLE_API
00039 drizzle_field_t drizzle_field_read(drizzle_result_st *result, size_t *offset,
00040                                    size_t *size, size_t *total,
00041                                    drizzle_return_t *ret_ptr);
00042 
00046 DRIZZLE_API
00047 drizzle_field_t drizzle_field_buffer(drizzle_result_st *result, size_t *total,
00048                                      drizzle_return_t *ret_ptr);
00049 
00053 DRIZZLE_API
00054 void drizzle_field_free(drizzle_field_t field);
00055 
00058 #ifdef __cplusplus
00059 }
00060 #endif
00061 
00062 #endif /* __DRIZZLE_FIELD_CLIENT_H */