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


Go to the source code of this file.
Functions | |
| int | bdb_str2val (db_type_t _t, db_val_t *_v, char *_s, int _l) |
| int | bdb_val2str (db_val_t *_v, char *_s, int *_len) |
Does not copy strings
Definition at line 83 of file bdb_val.c.
References DB_BIGINT, DB_BITMAP, DB_BLOB, DB_DATETIME, DB_DOUBLE, DB_INT, DB_STR, db_str2double(), db_str2int(), db_str2time(), DB_STRING, LM_DBG, LM_ERR, _str::s, VAL_BLOB, VAL_DOUBLE, VAL_FREE, VAL_INT, VAL_NULL, VAL_STR, VAL_STRING, VAL_TIME, and VAL_TYPE.
Referenced by bdb_append_row(), and bdb_convert_row().
| int bdb_val2str | ( | db_val_t * | _v, | |
| char * | _s, | |||
| int * | _len | |||
| ) |
Definition at line 184 of file bdb_val.c.
References bdb_time2str(), DB_BITMAP, DB_BLOB, DB_DATETIME, DB_DOUBLE, db_double2str(), DB_INT, db_int2str(), DB_STR, DB_STRING, len, LM_DBG, LM_ERR, s, snprintf, VAL_BLOB, VAL_DOUBLE, VAL_INT, VAL_NULL, VAL_STR, VAL_STRING, VAL_TIME, and VAL_TYPE.
Referenced by bdb_update(), and bdblib_valtochar().
1.5.6