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
390
350
drizzle_con_st *drizzle_con_clone(drizzle_st *drizzle, drizzle_con_st *con,
391
351
const drizzle_con_st *from);
354
drizzle_return_t drizzle_set_option(drizzle_st *drizzle, drizzle_options_t arg, bool set);
394
357
* Free a connection structure.