php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_pdo_sqlite_int.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Author: Wez Furlong <wez@php.net> |
14 +----------------------------------------------------------------------+
15*/
16
17#ifndef PHP_PDO_SQLITE_INT_H
18#define PHP_PDO_SQLITE_INT_H
19
20#include <sqlite3.h>
21
22typedef struct {
23 const char *file;
24 int line;
25 unsigned int errcode;
26 char *errmsg;
28
31
32 int argc;
33 const char *funcname;
34
35 /* accelerated callback references */
39};
40
47
54
55typedef struct {
57 sqlite3_stmt *stmt;
58 unsigned pre_fetched:1;
59 unsigned done:1;
61
63
65
66extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
67#define pdo_sqlite_error(s) _pdo_sqlite_error(s, NULL, __FILE__, __LINE__)
68#define pdo_sqlite_error_stmt(s) _pdo_sqlite_error(stmt->dbh, stmt, __FILE__, __LINE__)
69
70extern const struct pdo_stmt_methods sqlite_stmt_methods;
71
72enum {
76};
77
78typedef int pdo_sqlite_create_collation_callback(void*, int, const void*, int, const void*);
79
83
84#endif
zval callback
Definition assert.c:25
file(string $filename, int $flags=0, $context=null)
char s[4]
Definition cdf.c:77
int line
Definition php_ffi.h:54
struct _pdo_dbh_t pdo_dbh_t
struct _pdo_stmt_t pdo_stmt_t
struct _pdo_scanner_t pdo_scanner_t
@ PDO_ATTR_DRIVER_SPECIFIC
int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line)
int pdo_sqlite_scanner(pdo_scanner_t *s)
@ PDO_SQLITE_ATTR_READONLY_STATEMENT
@ PDO_SQLITE_ATTR_OPEN_FLAGS
@ PDO_SQLITE_ATTR_EXTENDED_RESULT_CODES
int pdo_sqlite_create_collation_callback(void *, int, const void *, int, const void *)
void pdo_sqlite_create_function_internal(INTERNAL_FUNCTION_PARAMETERS)
void pdo_sqlite_create_collation_internal(INTERNAL_FUNCTION_PARAMETERS, pdo_sqlite_create_collation_callback callback)
const struct pdo_stmt_methods sqlite_stmt_methods
const pdo_driver_t pdo_sqlite_driver
void pdo_sqlite_create_aggregate_internal(INTERNAL_FUNCTION_PARAMETERS)
zend_fcall_info_cache callback
struct pdo_sqlite_collation * next
struct pdo_sqlite_collation * collations
struct pdo_sqlite_func * funcs
pdo_sqlite_error_info einfo
struct pdo_sqlite_func * next
const char * funcname
zend_fcall_info_cache step
zend_fcall_info_cache func
zend_fcall_info_cache fini
sqlite3_stmt * stmt
pdo_sqlite_db_handle * H
#define INTERNAL_FUNCTION_PARAMETERS
Definition zend.h:49
struct _zend_fcall_info_cache zend_fcall_info_cache