mysql - a mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
Initializes and allocates memory for a prepared statement. Returns a pointer to a MYSQL_STMT structure or NULL if an error occurred.
MYSQL_STMT * mysql_stmt_init(MYSQL * mysql);