~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-14 07:30:41 UTC
  • Revision ID: me@mark.atwood.name-20111114073041-mo2hgg8ouseo2kpu
releaseĀ 2011.11.29

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
296
293
const char *drizzle_con_db(const drizzle_con_st *con);
297
294
 
298
295
/**
300
297
 *
301
298
 * @param[in] con Connection structure previously initialized with
302
299
 *  drizzle_con_create(), drizzle_con_clone(), or related functions.
303
 
 * @param[in] schema Database to use with this connection.
 
300
 * @param[in] db Database to use with this connection.
304
301
 */
305
302
DRIZZLE_API
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);
 
303
void drizzle_con_set_db(drizzle_con_st *con, const char *db);
310
304
 
311
305
/**
312
306
 * Get application context pointer for a connection.