Functions

km_row.c File Reference

DB_MYSQL :: Row related functionsModule: DB_MYSQL :: the MySQL driver for Kamailio. More...

#include "../../dprint.h"
#include "../../mem/mem.h"
#include "../../lib/srdb1/db_row.h"
#include "../../lib/srdb1/db_val.h"
#include "km_my_con.h"
#include "km_val.h"
#include "km_row.h"
Include dependency graph for km_row.c:

Go to the source code of this file.

Functions


Detailed Description

Definition in file km_row.c.


Function Documentation

int db_mysql_convert_row ( const db1_con_t _h,
db1_res_t _res,
db_row_t _r 
)
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 km_row.c.

References db_allocate_row(), db_free_row(), RES_COL_N, RES_TYPES, and ROW_VALUES.

Referenced by db_mysql_convert_rows(), and db_mysql_fetch_result().

Here is the call graph for this function:

Here is the caller graph for this function: