perlvdb_conv.h File Reference

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

Include dependency graph for perlvdb_conv.h:

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

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 Documentation

#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"

Definition at line 38 of file perlvdb_conv.h.

Referenced by perlresult2dbres().

#define PERL_CONSTRUCTOR_NAME   "new"

Definition at line 42 of file perlvdb_conv.h.

Referenced by cond2perlcond(), newvdbobj(), pair2perlpair(), and val2perlval().


Function Documentation

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 
)

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 83 of file perlvdb_conv.c.

References len, and s.

Referenced by perlvdb_db_query().

SV* pair2perlpair ( db_key_t  key,
db_val_t val 
)

AV* pairs2perlarray ( db_key_t keys,
db_val_t vals,
int  n 
)

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 
)

SV* val2perlval ( db_val_t val  ) 


Generated on Thu May 24 02:00:40 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6