~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle-2.0/result.h

  • Committer: Brian Aker
  • Date: 2011-11-04 21:06:16 UTC
  • mto: This revision was merged to the branch mainline in revision 2450.
  • Revision ID: brian@tangent.org-20111104210616-2at42agch94dkwb0
Additional fixes for libdrizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 *
35
35
 */
36
36
 
37
 
#pragma once
38
 
 
39
37
/**
40
38
 * @file
41
39
 * @brief Result Declarations
42
40
 */
43
41
 
 
42
#ifndef __DRIZZLE_RESULT_H
 
43
#define __DRIZZLE_RESULT_H
 
44
 
44
45
#ifdef __cplusplus
45
46
extern "C" {
46
47
#endif
58
59
 * Initialize a result structure.
59
60
 */
60
61
DRIZZLE_API
61
 
drizzle_result_st *drizzle_result_create(drizzle_con_st *con);
62
 
 
63
 
drizzle_result_st *drizzle_result_create_with(drizzle_con_st *con,
64
 
                                              drizzle_result_st *result);
 
62
drizzle_result_st *drizzle_result_create(drizzle_con_st *con,
 
63
                                         drizzle_result_st *result);
65
64
 
66
65
/**
67
66
 * Clone a connection structure.
68
67
 */
69
68
DRIZZLE_API
70
 
  drizzle_result_st *drizzle_result_clone(drizzle_con_st *con,
71
 
                                          drizzle_result_st *source);
 
69
drizzle_result_st *drizzle_result_clone(drizzle_con_st *con,
 
70
                                        drizzle_result_st *result,
 
71
                                        drizzle_result_st *from);
72
72
 
73
73
/**
74
74
 * Free a result structure.
153
153
#ifdef __cplusplus
154
154
}
155
155
#endif
 
156
 
 
157
#endif /* __DRIZZLE_RESULT_H */