~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/conn.h

  • Committer: Monty Taylor
  • Date: 2010-12-12 11:52:00 UTC
  • mto: (2023.3.15 innodb-cxx)
  • mto: This revision was merged to the branch mainline in revision 2014.
  • Revision ID: mordred@inaugust.com-20101212115200-uyk1h5crevvt77gh
RevertĀ -Wc++-compatĀ change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
 * @return Options set for the connection structure.
165
165
 */
166
166
DRIZZLE_API
167
 
int drizzle_con_options(const drizzle_con_st *con);
 
167
drizzle_con_options_t drizzle_con_options(const drizzle_con_st *con);
168
168
 
169
169
/**
170
170
 * Set options for a connection.
175
175
 */
176
176
DRIZZLE_API
177
177
void drizzle_con_set_options(drizzle_con_st *con,
178
 
                             int options);
 
178
                             drizzle_con_options_t options);
179
179
 
180
180
/**
181
181
 * Add options for a connection.
186
186
 */
187
187
DRIZZLE_API
188
188
void drizzle_con_add_options(drizzle_con_st *con,
189
 
                             int options);
 
189
                             drizzle_con_options_t options);
190
190
 
191
191
/**
192
192
 * Remove options for a connection.
197
197
 */
198
198
DRIZZLE_API
199
199
void drizzle_con_remove_options(drizzle_con_st *con,
200
 
                                int options);
 
200
                                drizzle_con_options_t options);
201
201
 
202
202
/**
203
203
 * Get TCP host for a connection.
392
392
 * @return Capabilities for connection.
393
393
 */
394
394
DRIZZLE_API
395
 
int drizzle_con_capabilities(const drizzle_con_st *con);
 
395
drizzle_capabilities_t drizzle_con_capabilities(const drizzle_con_st *con);
396
396
 
397
397
/**
398
398
 * Get character set for a connection.