db_mysql/row.h File Reference

DB_MYSQL :: Row related functions row.c

Module: DB_MYSQL :: the MySQL driver for Kamailio. More...

#include "../../db/db_con.h"
#include "../../db/db_res.h"
#include "../../db/db_row.h"

Include dependency graph for db_mysql/row.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int db_mysql_convert_row (const db_con_t *_h, db_res_t *_res, db_row_t *_r)
 Convert a row from result into DB API representation.


Detailed Description

DB_MYSQL :: Row related functions row.c

Module: DB_MYSQL :: the MySQL driver for Kamailio.

Definition in file db_mysql/row.h.


Function Documentation

int db_mysql_convert_row ( const db_con_t _h,
db_res_t _res,
db_row_t _r 
)

Convert a row from result into DB API representation.

Parameters:
_h database connection
_res database result in the DB API representation
_r database result row
Returns:
0 on success, -1 on failure

Definition at line 47 of file db_mysql/row.c.

References CON_RESULT, CON_ROW, db_allocate_row(), db_free_row(), db_str2val(), LM_DBG, LM_ERR, RES_COL_N, RES_TYPES, and ROW_VALUES.

Referenced by db_mysql_convert_rows(), and db_mysql_fetch_result().


Generated on Mon May 21 18:00:43 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6