~drizzle-trunk/libdrizzle/jenkins-Libdrizzle-38

« back to all changes in this revision

Viewing changes to libdrizzle/conn_local.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:
60
60
 */
61
61
DRIZZLE_LOCAL
62
62
void drizzle_reset_addrinfo(drizzle_st *con);
 
63
 
 
64
/**
 
65
 * Send raw command to server, possibly in parts.
 
66
 *
 
67
 * @param[in] con Connection structure previously initialized with
 
68
 *  drizzle_create(), drizzle_clone(), or related functions.
 
69
 * @param[in] result Caller allocated structure, or NULL to allocate one.
 
70
 * @param[in] command Command to run on server.
 
71
 * @param[in] data Data to send along with the command.
 
72
 * @param[in] size Size of the current chunk of data being sent.
 
73
 * @param[in] total Total size of all data being sent for command.
 
74
 * @param[out] ret_ptr Standard drizzle return value.
 
75
 * @return On success, a pointer to the (possibly allocated) structure. On
 
76
 *  failure this will be NULL.
 
77
 */
 
78
DRIZZLE_LOCAL
 
79
drizzle_result_st *drizzle_command_write(drizzle_st *con,
 
80
                                             drizzle_result_st *result,
 
81
                                             drizzle_command_t command,
 
82
                                             const void *data, size_t size,
 
83
                                             size_t total,
 
84
                                             drizzle_return_t *ret_ptr);
63
85
 
64
86
/**
65
87
 * Check if state stack is empty.