~linuxjedi/libdrizzle/5.1-api-fixes

« back to all changes in this revision

Viewing changes to libdrizzle-5.1/conn_client.h

  • Committer: Continuous Integration
  • Date: 2012-12-29 21:58:17 UTC
  • mfrom: (71.1.1 5.1-trunk)
  • Revision ID: ci@drizzle.org-20121229215817-lrf55vhhuehqsgq9
Merge lp:~brianaker/libdrizzle/make-private-enum Build: jenkins-Libdrizzle-20

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
drizzle_result_st *drizzle_ping(drizzle_st *con,
121
121
                                    drizzle_return_t *ret_ptr);
122
122
 
123
 
/**
124
 
 * Send raw command to server, possibly in parts.
125
 
 *
126
 
 * @param[in] con Connection structure previously initialized with
127
 
 *  drizzle_create(), drizzle_clone(), or related functions.
128
 
 * @param[in] result Caller allocated structure, or NULL to allocate one.
129
 
 * @param[in] command Command to run on server.
130
 
 * @param[in] data Data to send along with the command.
131
 
 * @param[in] size Size of the current chunk of data being sent.
132
 
 * @param[in] total Total size of all data being sent for command.
133
 
 * @param[out] ret_ptr Standard drizzle return value.
134
 
 * @return On success, a pointer to the (possibly allocated) structure. On
135
 
 *  failure this will be NULL.
136
 
 */
137
 
DRIZZLE_API
138
 
drizzle_result_st *drizzle_command_write(drizzle_st *con,
139
 
                                             drizzle_result_st *result,
140
 
                                             drizzle_command_t command,
141
 
                                             const void *data, size_t size,
142
 
                                             size_t total,
143
 
                                             drizzle_return_t *ret_ptr);
144
 
 
145
123
/** @} */
146
124
 
147
125
#ifdef __cplusplus