DBD-MaxDB

 view release on metacpan or  search on metacpan

dbdimp.h  view on Meta::CPAN

};

/* These defines avoid name clashes for multiple statically linked DBD's        */

#define dbd_init            dbd_maxdb_init
#define dbd_db_login        dbd_maxdb_db_login
#define dbd_db_login6       dbd_maxdb_db_login6
#define dbd_db_commit       dbd_maxdb_db_commit
#define dbd_db_rollback	    dbd_maxdb_db_rollback
#define dbd_db_disconnect   dbd_maxdb_db_disconnect
#define dbd_db_destroy      dbd_maxdb_db_destroy
#define dbd_db_STORE_attrib dbd_maxdb_db_STORE_attrib
#define dbd_db_FETCH_attrib dbd_maxdb_db_FETCH_attrib

#define dbd_bind_ph         dbd_maxdb_bind_ph
#define dbd_error           dbd_maxdb_error

/*
#define bind_param_inout  ???
#define dbd_discon_all		 dbd_maxdb_discon_all
#define dbd_db_last_insert_id dbd_maxdb_db_last_insert_id
#define dbd_db_data_sources
*/

#define dbd_db_do           dbd_maxdb_db_do 
#define dbd_st_prepare      dbd_maxdb_st_prepare
#define dbd_st_execute      dbd_maxdb_st_execute
#define dbd_st_fetch        dbd_maxdb_st_fetch
#define dbd_st_finish       dbd_maxdb_st_finish
#define dbd_st_destroy      dbd_maxdb_st_destroy
#define dbd_st_blob_read    dbd_maxdb_st_blob_read
#define dbd_st_STORE_attrib dbd_maxdb_st_STORE_attrib
#define dbd_st_FETCH_attrib dbd_maxdb_st_FETCH_attrib
#define dbd_discon_all		  dbd_maxdb_discon_all
/*
#define dbd_st_rows
#define dbd_st_finish3
#define dbd_st_execute_for_fetch
*/
#define DBD_MAXDB_ERROR_RETVAL -42

#define ENCODING_UTF8 1
#define ENCODING_ASCII_8BIT 0
#define ENCODING  "ENCODING"

/*prototypes to avoid warnings*/
int dbd_maxdb_db_login6(SV *dbh, imp_dbh_t *imp_dbh, char *url, char *user, char* password, SV *attr);
int dbd_maxdb_st_execute(SV* sth, imp_sth_t* imp_sth);
int dbd_maxdb_st_finish(SV* sth, imp_sth_t* imp_sth);
int dbd_maxdb_db_commit(SV* dbh, imp_dbh_t* imp_dbh);
int dbd_maxdb_db_rollback(SV* dbh, imp_dbh_t* imp_dbh);
int dbd_maxdb_db_disconnect(SV* dbh, imp_dbh_t* imp_dbh);
int dbd_maxdb_db_STORE_attrib(SV* dbh, imp_dbh_t* imp_dbh, SV* keysv, SV* valuesv);
SV* dbd_maxdb_db_FETCH_attrib(SV* dbh, imp_dbh_t* imp_dbh, SV* keysv) ;
void dbd_maxdb_db_destroy(SV* dbh, imp_dbh_t* imp_dbh);
int dbd_maxdb_st_prepare(SV* sth, imp_sth_t* imp_sth, char* statement, SV* attribs);
int dbd_st_blob_read (SV *sth, imp_sth_t *imp_sth, int field, long offset, long len, SV *destrv, long destoffset);
int dbd_maxdb_db_STORE_attrib(SV* dbh, imp_dbh_t* imp_dbh, SV* keysv, SV* valuesv);
void dbd_maxdb_st_destroy(SV* sth, imp_sth_t* imp_sth);
int dbd_maxdb_db_ping(SV* dbh);
int dbd_maxdb_db_isunicode(SV* dbh);
void dbd_maxdb_init(dbistate_t* dbistate);
int dbd_maxdb_bind_ph (SV *sth, imp_sth_t *imp_sth, SV *param, SV *value,
		 IV sql_type, SV *attribs, int is_inout, IV maxlen);
AV* dbd_maxdb_st_fetch(SV* sth, imp_sth_t* imp_sth);		 
SV* dbd_maxdb_st_FETCH_attrib(SV* sth, imp_sth_t* imp_sth, SV* keysv);		 
int dbd_maxdb_st_STORE_attrib(SV* sth, imp_sth_t* imp_sth, SV* keysv, SV* valuesv);

int dbd_maxdb_db_executeInternal( SV *dbh, SV *sth, char *statement );
int dbd_maxdb_db_executeUpdate( SV *dbh, SV *statement );
SV* dbd_maxdb_st_cancel( SV *sth);
SV* dbd_maxdb_db_getSQLMode(SV* dbh);
SV* dbd_maxdb_db_getVersion(SV* dbh);

/* end */



( run in 0.949 second using v1.01-cache-2.11-cpan-39bf76dae61 )