~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle-2.0/conn.h

  • Committer: Mark Atwood
  • Date: 2011-11-20 08:50:16 UTC
  • mfrom: (2461.1.2 drizzle-build)
  • Revision ID: me@mark.atwood.name-20111120085016-2o4no5btx18x2gws
mergeĀ lp:~brianaker/drizzle/libdrizzle-refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
 * @return Database associated with this connection.
291
291
 */
292
292
DRIZZLE_API
 
293
const char *drizzle_con_schema(const drizzle_con_st *con);
 
294
 
 
295
DRIZZLE_API
293
296
const char *drizzle_con_db(const drizzle_con_st *con);
294
297
 
295
298
/**
297
300
 *
298
301
 * @param[in] con Connection structure previously initialized with
299
302
 *  drizzle_con_create(), drizzle_con_clone(), or related functions.
300
 
 * @param[in] db Database to use with this connection.
 
303
 * @param[in] schema Database to use with this connection.
301
304
 */
302
305
DRIZZLE_API
303
 
void drizzle_con_set_db(drizzle_con_st *con, const char *db);
 
306
void drizzle_con_set_schema(drizzle_con_st *con, const char *schema);
 
307
 
 
308
DRIZZLE_API
 
309
void drizzle_con_set_db(drizzle_con_st *con, const char *schema);
304
310
 
305
311
/**
306
312
 * Get application context pointer for a connection.