~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle-2.0/query.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:
164
164
 * Get options for a query. 
165
165
 */
166
166
DRIZZLE_API
167
 
int drizzle_query_options(drizzle_query_st *);
 
167
int drizzle_query_options(drizzle_query_st *query);
168
168
 
169
169
/**
170
170
 * Set options for a query.
171
171
 */
172
172
DRIZZLE_API
173
 
void drizzle_query_set_options(drizzle_query_st *, int);
 
173
void drizzle_query_set_options(drizzle_query_st *query,
 
174
                               int options);
174
175
 
175
176
/**
176
177
 * Add options for a query.
177
178
 */
178
179
DRIZZLE_API
179
 
void drizzle_query_add_options(drizzle_query_st *, int);
 
180
void drizzle_query_add_options(drizzle_query_st *query,
 
181
                               int options);
180
182
 
181
183
/**
182
184
 * Remove options for a query.
183
185
 */
184
186
DRIZZLE_API
185
 
void drizzle_query_remove_options(drizzle_query_st *, int);
 
187
void drizzle_query_remove_options(drizzle_query_st *query,
 
188
                                  int options);
186
189
 
187
190
/**
188
191
 * Get application context for a query.
224
227
 * size of the output string in to.
225
228
 */
226
229
DRIZZLE_API
227
 
ssize_t drizzle_escape_string(char *to, size_t max_to_size, const char *from, size_t from_size);
228
 
 
 
230
size_t drizzle_escape_string(char *to, const char *from, size_t from_size);
 
231
DRIZZLE_API
 
232
ssize_t drizzle_safe_escape_string(char *to, size_t max_to_size, const char *from, size_t from_size);
229
233
DRIZZLE_API
230
234
size_t drizzle_hex_string(char *to, const char *from, size_t from_size);
231
 
 
232
235
DRIZZLE_API
233
236
void drizzle_mysql_password_hash(char *to, const char *from, size_t from_size);
234
237