#include "../../db/db_op.h"#include "../../db/db_val.h"#include "../../db/db_key.h"#include "perlvdb.h"#include <XSUB.h>


Go to the source code of this file.
Defines | |
| #define | PERL_CLASS_PAIR "OpenSER::VDB::Pair" |
| #define | PERL_CLASS_REQCOND "OpenSER::VDB::ReqCond" |
| #define | PERL_CLASS_VALUE "OpenSER::VDB::Value" |
| #define | PERL_CONSTRUCTOR_NAME "new" |
Functions | |
| SV * | cond2perlcond (db_key_t key, db_op_t op, db_val_t *val) |
| AV * | conds2perlarray (db_key_t *keys, db_op_t *ops, db_val_t *vals, int n) |
| AV * | keys2perlarray (db_key_t *keys, int n) |
| SV * | pair2perlpair (db_key_t key, db_val_t *val) |
| AV * | pairs2perlarray (db_key_t *keys, db_val_t *vals, int n) |
| int | perlresult2dbres (SV *perlres, db_res_t **r) |
| SV * | val2perlval (db_val_t *val) |
| #define PERL_CLASS_PAIR "OpenSER::VDB::Pair" |
Definition at line 39 of file perlvdb_conv.h.
| #define PERL_CLASS_REQCOND "OpenSER::VDB::ReqCond" |
Definition at line 40 of file perlvdb_conv.h.
| #define PERL_CLASS_VALUE "OpenSER::VDB::Value" |
| #define PERL_CONSTRUCTOR_NAME "new" |
Definition at line 42 of file perlvdb_conv.h.
Referenced by cond2perlcond(), newvdbobj(), pair2perlpair(), and val2perlval().
Definition at line 190 of file perlvdb_conv.c.
References _str::len, PERL_CONSTRUCTOR_NAME, perlvdb_perlmethod(), _str::s, db_val_t::type, and valdata().
Referenced by conds2perlarray().
Definition at line 53 of file perlvdb_conv.c.
References cond2perlcond(), NULL, and OP_EQ.
Referenced by perlvdb_db_delete(), perlvdb_db_query(), and perlvdb_db_update().
| AV* keys2perlarray | ( | db_key_t * | keys, | |
| int | n | |||
| ) |
Definition at line 167 of file perlvdb_conv.c.
References _str::len, NULL, PERL_CONSTRUCTOR_NAME, perlvdb_perlmethod(), _str::s, db_val_t::type, and valdata().
Referenced by pairs2perlarray().
Definition at line 36 of file perlvdb_conv.c.
References pair2perlpair().
Referenced by perlvdb_db_insertreplace(), and perlvdb_db_update().
| int perlresult2dbres | ( | SV * | perlres, | |
| db_res_t ** | r | |||
| ) |
Definition at line 214 of file perlvdb_conv.c.
References cur_val, DB_BITMAP, DB_BLOB, DB_DATETIME, DB_DOUBLE, DB_INT, DB_STR, DB_STRING, len, LM_CRIT, LM_ERR, NULL, PERL_CLASS_VALUE, PERL_VDB_COLDEFSMETHOD, PERL_VDB_DATAMETHOD, PERL_VDB_NAMEMETHOD, PERL_VDB_ROWSMETHOD, PERL_VDB_TYPEMETHOD, perlvdb_perlmethod(), and pkg_malloc.
Referenced by perlvdb_db_query().
| SV* val2perlval | ( | db_val_t * | val | ) |
Definition at line 148 of file perlvdb_conv.c.
References NULL, PERL_CONSTRUCTOR_NAME, perlvdb_perlmethod(), db_val_t::type, and valdata().
1.5.6