[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 /* @(#)$Id: dbd_xsh.h 2488 2006-02-07 22:24:43Z timbo $ 2 * 3 * Copyright 2000-2002 Tim Bunce 4 * Copyright 2002 Jonathan Leffler 5 * 6 * These prototypes are for dbdimp.c funcs used in the XS file. 7 * These names are #defined to driver specific names by the 8 * dbdimp.h file in the driver source. 9 */ 10 11 #ifndef DBI_DBD_XSH_H 12 #define DBI_DBD_XSH_H 13 14 void dbd_init _((dbistate_t *dbistate)); 15 16 int dbd_discon_all _((SV *drh, imp_drh_t *imp_drh)); 17 SV *dbd_take_imp_data _((SV *h, imp_xxh_t *imp_xxh, void *foo)); 18 19 /* Support for dbd_dr_data_sources and dbd_db_do added to Driver.xst in DBI v1.33 */ 20 /* dbd_dr_data_sources: optional: defined by a driver that calls a C */ 21 /* function to get the list of data sources */ 22 AV *dbd_dr_data_sources(SV *drh, imp_drh_t *imp_drh, SV *attrs); 23 24 int dbd_db_login6 _((SV *dbh, imp_dbh_t *imp_dbh, char *dbname, char *uid, char *pwd, SV*attribs)); 25 int dbd_db_login _((SV *dbh, imp_dbh_t *imp_dbh, char *dbname, char *uid, char *pwd)); /* deprecated */ 26 /* Note: interface of dbd_db_do changed in v1.33 */ 27 /* Old prototype: dbd_db_do _((SV *sv, char *statement)); */ 28 /* dbd_db_do: optional: defined by a driver if the DBI default version is too slow */ 29 int dbd_db_do4 _((SV *dbh, imp_dbh_t *imp_dbh, char *statement, SV *params)); 30 int dbd_db_commit _((SV *dbh, imp_dbh_t *imp_dbh)); 31 int dbd_db_rollback _((SV *dbh, imp_dbh_t *imp_dbh)); 32 int dbd_db_disconnect _((SV *dbh, imp_dbh_t *imp_dbh)); 33 void dbd_db_destroy _((SV *dbh, imp_dbh_t *imp_dbh)); 34 int dbd_db_STORE_attrib _((SV *dbh, imp_dbh_t *imp_dbh, SV *keysv, SV *valuesv)); 35 SV *dbd_db_FETCH_attrib _((SV *dbh, imp_dbh_t *imp_dbh, SV *keysv)); 36 SV *dbd_db_last_insert_id _((SV *dbh, imp_dbh_t *imp_dbh, SV *catalog, SV *schema, SV *table, SV *field, SV *attr)); 37 AV *dbd_db_data_sources _((SV *dbh, imp_dbh_t *imp_dbh, SV *attr)); 38 39 int dbd_st_prepare _((SV *sth, imp_sth_t *imp_sth, char *statement, SV *attribs)); 40 int dbd_st_rows _((SV *sth, imp_sth_t *imp_sth)); 41 int dbd_st_execute _((SV *sth, imp_sth_t *imp_sth)); 42 AV *dbd_st_fetch _((SV *sth, imp_sth_t *imp_sth)); 43 int dbd_st_finish3 _((SV *sth, imp_sth_t *imp_sth, int from_destroy)); 44 int dbd_st_finish _((SV *sth, imp_sth_t *imp_sth)); /* deprecated */ 45 void dbd_st_destroy _((SV *sth, imp_sth_t *imp_sth)); 46 int dbd_st_blob_read _((SV *sth, imp_sth_t *imp_sth, 47 int field, long offset, long len, SV *destrv, long destoffset)); 48 int dbd_st_STORE_attrib _((SV *sth, imp_sth_t *imp_sth, SV *keysv, SV *valuesv)); 49 SV *dbd_st_FETCH_attrib _((SV *sth, imp_sth_t *imp_sth, SV *keysv)); 50 SV *dbd_st_execute_for_fetch _((SV *sth, imp_sth_t *imp_sth, SV *fetch_tuple_sub, SV *tuple_status)); 51 52 int dbd_bind_ph _((SV *sth, imp_sth_t *imp_sth, 53 SV *param, SV *value, IV sql_type, SV *attribs, 54 int is_inout, IV maxlen)); 55 56 #endif /* end of dbd_xsh.h */
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |