~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/drizzle.h

  • Committer: Monty Taylor
  • Date: 2008-09-14 00:14:42 UTC
  • mto: This revision was merged to the branch mainline in revision 387.
  • Revision ID: monty@inaugust.com-20080914001442-09k3yuht4gopk0t6
Reworked drizzle_escape_string.

Show diffs side-by-side

added added

removed removed

Lines of Context:
286
286
 
287
287
const DRIZZLE_PARAMETERS * drizzle_get_parameters(void);
288
288
 
289
 
/*
290
 
  Set up and bring down a thread; these function should be called
291
 
  for each thread in an application which opens at least one MySQL
292
 
  connection.  All uses of the connection(s) should be between these
293
 
  function calls.
294
 
*/
295
 
bool drizzle_thread_init(void);
296
 
void drizzle_thread_end(void);
297
289
 
298
290
/*
299
291
  Functions to get information from the DRIZZLE and DRIZZLE_RES structures
381
373
DRIZZLE_RES *     drizzle_list_fields(DRIZZLE *drizzle, const char *table, const char *wild);
382
374
uint32_t  drizzle_escape_string(char *to,const char *from, uint32_t from_length);
383
375
uint32_t  drizzle_hex_string(char *to,const char *from, uint32_t from_length);
384
 
uint32_t        drizzle_real_escape_string(DRIZZLE *drizzle, char *to, const char *from, uint32_t length);
385
376
void    myodbc_remove_escape(const DRIZZLE *drizzle, char *name);
386
 
uint32_t  drizzle_thread_safe(void);
387
 
bool    drizzle_embedded(void);
388
377
bool         drizzle_read_query_result(DRIZZLE *drizzle);
389
378
 
390
379