~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/query.h

  • Committer: Monty Taylor
  • Author(s): Andrew Hutchings
  • Date: 2011-03-14 16:54:30 UTC
  • mto: (2235.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 2237.
  • Revision ID: mordred@inaugust.com-20110314165430-sfnwk7ek1b9nytb2
Add drizzle_safe_escape_string() function

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
DRIZZLE_API
231
231
size_t drizzle_escape_string(char *to, const char *from, size_t from_size);
232
232
DRIZZLE_API
 
233
ssize_t drizzle_safe_escape_string(char *to, size_t max_to_size, const char *from, size_t from_size);
 
234
DRIZZLE_API
233
235
size_t drizzle_hex_string(char *to, const char *from, size_t from_size);
234
236
DRIZZLE_API
235
237
void drizzle_mysql_password_hash(char *to, const char *from, size_t from_size);