libtools
Main Page
Modules
Classes
Files
File List
File Members
tools
mysql.h
Go to the documentation of this file.
1
20
#ifndef __TOOLS_MYSQL_H
21
#define __TOOLS_MYSQL_H
22
23
#include <stdarg.h>
24
#include <mysql/mysql.h>
25
36
char
*
mysql_vasprintf
(MYSQL *mysql,
char
**str,
const
char
*format, va_list args);
37
67
char
*
mysql_asprintf
(MYSQL *mysql,
char
**str,
const
char
*format, ...);
68
76
int
mysql_transaction
(MYSQL *mysql);
77
89
int
mysql_qprintf
(MYSQL *mysql,
const
char
*format, ...);
90
93
#endif
/* __TOOLS_MYSQL_H */
mysql_asprintf
char * mysql_asprintf(MYSQL *mysql, char **str, const char *format,...)
allocate and format mysql query string
mysql_vasprintf
char * mysql_vasprintf(MYSQL *mysql, char **str, const char *format, va_list args)
allocate and format mysql query string
mysql_transaction
int mysql_transaction(MYSQL *mysql)
Start new transaction.
mysql_qprintf
int mysql_qprintf(MYSQL *mysql, const char *format,...)
Send a MySQL query.
Generated by
1.8.11