162
162
* @return Same return as drizzle_create().
165
drizzle_st *drizzle_clone(drizzle_st *drizzle, const drizzle_st *from);
165
drizzle_st *drizzle_clone(const drizzle_st *from);
168
168
* Free a drizzle structure.
214
214
const char *drizzle_sqlstate(const drizzle_st *drizzle);
217
* Get options for a drizzle structure.
219
* @param[in] drizzle Drizzle structure previously initialized with
220
* drizzle_create() or drizzle_clone().
221
* @return Options set for the drizzle structure.
224
int drizzle_options(const drizzle_st *drizzle);
227
* Set options for a drizzle structure.
229
* @param[in] drizzle Drizzle structure previously initialized with
230
* drizzle_create() or drizzle_clone().
231
* @param[in] options Available options for drizzle structure to set.
234
void drizzle_set_options(drizzle_st *drizzle, int options);
237
* Add options for a drizzle structure.
239
* @param[in] drizzle Drizzle structure previously initialized with
240
* drizzle_create() or drizzle_clone().
241
* @param[in] options Available options for drizzle structure to add.
244
void drizzle_add_options(drizzle_st *drizzle, int options);
247
* Remove options for a drizzle structure.
249
* @param[in] drizzle Drizzle structure previously initialized with
250
* drizzle_create() or drizzle_clone().
251
* @param[in] options Available options for drizzle structure to remove.
254
void drizzle_remove_options(drizzle_st *, drizzle_options_t);
257
217
* Get application context pointer.
259
219
* @param[in] drizzle Drizzle structure previously initialized with
375
335
* failure this will be NULL.
378
drizzle_con_st *drizzle_con_create(drizzle_st *drizzle, drizzle_con_st *con);
338
drizzle_con_st *drizzle_con_create(drizzle_st *drizzle);
381
341
* Clone a connection structure.
387
347
* @return Same return as drizzle_con_create().
390
drizzle_con_st *drizzle_con_clone(drizzle_st *drizzle, drizzle_con_st *con,
391
const drizzle_con_st *from);
350
drizzle_con_st *drizzle_con_clone(drizzle_st *drizzle, drizzle_con_st *con);
353
drizzle_return_t drizzle_set_option(drizzle_st *drizzle, drizzle_options_t arg, bool set);
394
356
* Free a connection structure.