#include <string.h>#include "../../db/db.h"#include "../../mem/mem.h"#include "dbt_res.h"#include "dbt_api.h"

Go to the source code of this file.
Functions | |
| static int | dbt_convert_result (db_con_t *_h, db_res_t *_r) |
| static int | dbt_convert_row (db_con_t *_h, db_res_t *_res, db_row_t *_r) |
| static int | dbt_convert_rows (db_con_t *_h, db_res_t *_r) |
| static int | dbt_get_columns (db_con_t *_h, db_res_t *_r) |
| int | dbt_get_result (db_con_t *_h, db_res_t **_r) |
| int | dbt_use_table (db_con_t *_h, const str *_t) |
Definition at line 230 of file dbt_api.c.
References db_free_columns(), dbt_convert_rows(), dbt_get_columns(), and LM_ERR.
Referenced by dbt_get_result().
Definition at line 108 of file dbt_api.c.
References db_allocate_row(), DB_BIGINT, DB_BITMAP, DB_BLOB, DB_DATETIME, DB_DOUBLE, DB_INT, DB_STR, DB_STRING, DBT_CON_ROW, LM_ERR, RES_COL_N, RES_TYPES, ROW_VALUES, VAL_DOUBLE, VAL_FREE, VAL_INT, VAL_STR, and VAL_TYPE.
Referenced by dbt_convert_rows().
Definition at line 188 of file dbt_api.c.
References db_allocate_rows(), db_free_rows(), DBT_CON_RESULT, DBT_CON_ROW, dbt_convert_row(), LM_ERR, _dbt_row::next, NULL, RES_ROW_N, and RES_ROWS.
Referenced by dbt_convert_result().
Definition at line 47 of file dbt_api.c.
References db_allocate_columns(), DB_BLOB, DB_DATETIME, DB_DOUBLE, db_free_columns(), DB_INT, DB_STR, DB_STRING, DBT_CON_RESULT, len, LM_DBG, LM_ERR, LM_WARN, pkg_malloc, RES_COL_N, RES_NAMES, RES_TYPES, and s.
Referenced by dbt_convert_result().
Definition at line 252 of file dbt_api.c.
References db_new_result(), DBT_CON_RESULT, dbt_convert_result(), LM_ERR, and pkg_free.
Referenced by dbt_query().
1.5.6