diff options
author | Damyan Ivanov <dmn@debian.org> | 2011-08-30 08:02:16 +0300 |
---|---|---|
committer | Damyan Ivanov <dmn@debian.org> | 2011-08-30 08:02:16 +0300 |
commit | 61cc04df5d08596a1fe61a21aae9488e356a4467 (patch) | |
tree | dda104b6dc64cb686d815a7558520f364748f347 /Firebird.h |
Import original source of DBD-Firebird 0.55
Diffstat (limited to 'Firebird.h')
-rw-r--r-- | Firebird.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Firebird.h b/Firebird.h new file mode 100644 index 0000000..8126f34 --- /dev/null +++ b/Firebird.h @@ -0,0 +1,41 @@ +/* + $Id: Firebird.h 183 2001-12-20 18:01:23Z danielritz $ + + Copyright (c) 1999,2000 Edwin Pratomo + + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the Perl README file. + +*/ + +#define NEED_DBIXS_VERSION 7 + +#include "dbdimp.h" + +#include <dbd_xsh.h> + +void dbd_init _((dbistate_t *dbistate)); + +int dbd_db_login _((SV *dbh, imp_dbh_t *imp_dbh, char *dbname, char *uid, char *pwd)); +int dbd_db_do _((SV *sv, char *statement)); +int dbd_db_commit _((SV *dbh, imp_dbh_t *imp_dbh)); +int dbd_db_rollback _((SV *dbh, imp_dbh_t *imp_dbh)); +int dbd_db_disconnect _((SV *dbh, imp_dbh_t *imp_dbh)); +void dbd_db_destroy _((SV *dbh, imp_dbh_t *imp_dbh)); +int dbd_db_STORE_attrib _((SV *dbh, imp_dbh_t *imp_dbh, SV *keysv, SV *valuesv)); +SV *dbd_db_FETCH_attrib _((SV *dbh, imp_dbh_t *imp_dbh, SV *keysv)); + + +int dbd_st_prepare _((SV *sth, imp_sth_t* imp_sth, char *statement, SV *attribs)); +/* int dbd_st_rows _((SV *sth, imp_sth_t *imp_sth)); */ +int dbd_bind_ph _((SV *sth, imp_sth_t *imp_sth, SV *param, SV *value, IV sqltype, SV *attribs, int is_inout, IV maxlen)); +int dbd_st_execute _((SV *sv, imp_sth_t *imp_sth)); +AV *dbd_st_fetch _((SV *sv, imp_sth_t *imp_sth)); +int dbd_st_finish _((SV *sth, imp_sth_t *imp_sth)); +void dbd_st_destroy _((SV *sth, imp_sth_t *imp_sth)); +int dbd_st_blob_read _((SV *sth, imp_sth_t *imp_sth, int field, long offset, + long len, SV *destrv, long destoffset)); +int dbd_st_STORE_attrib _((SV *sth, imp_sth_t *imp_sth, SV *keysv, SV *valuesv)); +SV *dbd_st_FETCH_attrib _((SV *sth, imp_sth_t *imp_sth, SV *keysv)); + +/* end of Firebird.h */ |