19#ifndef PHP_PDO_FIREBIRD_INT_H
20#define PHP_PDO_FIREBIRD_INT_H
25#define PDO_FB_SQLDA_VERSION SQLDA_VERSION
27#define PDO_FB_SQLDA_VERSION 1
30#define PDO_FB_DIALECT 3
32#define PDO_FB_DEF_DATE_FMT "%Y-%m-%d"
33#define PDO_FB_DEF_TIME_FMT "%H:%M:%S"
34#define PDO_FB_DEF_TIMESTAMP_FMT PDO_FB_DEF_DATE_FMT " " PDO_FB_DEF_TIME_FMT
36#define SHORT_MAX (1 << (8*sizeof(short)-1))
38#if SIZEOF_ZEND_LONG == 8 && !defined(PHP_WIN32)
39# define LL_LIT(lit) lit ## L
41# define LL_LIT(lit) lit ## LL
46#define const_cast(s) ((char*)(s))
55#define min(a,b) ((a)<(b)?(a):(b))
58#if defined(_LP64) || defined(__LP64__) || defined(__arch64__) || defined(_WIN64)
59# define PDO_FIREBIRD_HANDLE_INITIALIZER 0U
61# define PDO_FIREBIRD_HANDLE_INITIALIZER NULL
135 const char *
msg,
const size_t msg_len);
136#define php_firebird_error(d) php_firebird_set_error(d, NULL, NULL, 0, NULL, 0)
137#define php_firebird_error_stmt(s) php_firebird_set_error(s->dbh, s, NULL, 0, NULL, 0)
138#define php_firebird_error_with_info(d,e,el,m,ml) php_firebird_set_error(d, NULL, e, el, m, ml)
139#define php_firebird_error_stmt_with_info(s,e,el,m,ml) php_firebird_set_error(s->dbh, s, e, el, m, ml)
const pdo_driver_t pdo_firebird_driver
const struct pdo_stmt_methods firebird_stmt_methods
struct _pdo_dbh_t pdo_dbh_t
struct _pdo_stmt_t pdo_stmt_t
@ PDO_ATTR_DRIVER_SPECIFIC
bool php_firebird_commit_transaction(pdo_dbh_t *dbh, bool retain)
@ PDO_FB_ATTR_TIME_FORMAT
@ PDO_FB_TRANSACTION_ISOLATION_LEVEL
@ PDO_FB_ATTR_TIMESTAMP_FORMAT
@ PDO_FB_WRITABLE_TRANSACTION
@ PDO_FB_ATTR_DATE_FORMAT
void php_firebird_set_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *state, const size_t state_len, const char *msg, const size_t msg_len)
zend_ulong txn_isolation_level
ISC_STATUS isc_status[20]
pdo_firebird_error_info einfo
unsigned fetch_table_names
pdo_firebird_db_handle * H
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
uint32_t(* info_func_t)(const zend_call_info *call_info, const zend_ssa *ssa)
struct _zend_array HashTable