php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_pdo_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 | Marcus Boerger <helly@php.net> |
15 | Sterling Hughes <sterling@php.net> |
16 +----------------------------------------------------------------------+
17*/
18
19/* Stuff private to the PDO extension and not for consumption by PDO drivers
20 * */
21
22#include "php_pdo_error.h"
23
27int php_pdo_list_entry(void);
28
29void pdo_dbh_init(int module_number);
30void pdo_stmt_init(void);
31
33extern ZEND_RSRC_DTOR_FUNC(php_pdo_pdbh_dtor);
34
42bool pdo_stmt_setup_fetch_mode(pdo_stmt_t *stmt, zend_long mode, uint32_t mode_arg_num,
43 zval *args, uint32_t variadic_num_args);
44
50
52
53extern pdo_driver_t *pdo_find_driver(const char *name, int namelen);
54
new_type kind
Definition ffi.c:4363
char * mode
zend_class_entry * pdo_row_ce
Definition pdo.c:34
zend_class_entry * pdo_dbstmt_ce
Definition pdo.c:34
HashTable pdo_driver_specific_ce_hash
Definition pdo.c:45
HashTable pdo_driver_hash
Definition pdo.c:42
zend_class_entry * pdo_exception_ce
Definition pdo.c:37
zend_object_handlers pdo_dbstmt_object_handlers
Definition pdo_stmt.c:2112
zend_object_handlers pdo_row_object_handlers
Definition pdo_stmt.c:2113
struct _pdo_stmt_t pdo_stmt_t
struct _pdo_dbh_object_t pdo_dbh_object_t
pdo_driver_t * pdo_find_driver(const char *name, int namelen)
Definition pdo.c:151
const zend_function_entry pdo_dbstmt_functions[]
void pdo_row_free_storage(zend_object *std)
Definition pdo_stmt.c:2499
void pdo_stmt_init(void)
Definition pdo_stmt.c:2517
void pdo_sqlstate_init_error_table(void)
const char * pdo_sqlstate_state_to_description(char *state)
const zend_function_entry pdo_row_functions[]
zend_object * pdo_row_new(zend_class_entry *ce)
Definition pdo_stmt.c:2509
const zend_function_entry pdo_dbh_functions[]
zend_object_iterator * php_pdo_dbstmt_iter_get(zend_class_entry *ce, zval *object)
zend_object_iterator * pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref)
Definition pdo_stmt.c:2258
bool pdo_stmt_describe_columns(pdo_stmt_t *stmt)
Definition pdo_stmt.c:128
void pdo_dbh_init(int module_number)
Definition pdo_dbh.c:1447
void pdo_sqlstate_fini_error_table(void)
bool pdo_stmt_setup_fetch_mode(pdo_stmt_t *stmt, zend_long mode, uint32_t mode_arg_num, zval *args, uint32_t variadic_num_args)
Definition pdo_stmt.c:1713
zend_object * pdo_dbstmt_new(zend_class_entry *ce)
Definition pdo_stmt.c:2164
bool pdo_hash_methods(pdo_dbh_object_t *dbh, int kind)
Definition pdo_dbh.c:1333
int php_pdo_list_entry(void)
Definition pdo.c:50
void pdo_dbstmt_free_storage(zend_object *std)
Definition pdo_stmt.c:2158
ptrdiff_t namelen
Definition session.c:1097
struct _zend_function_entry zend_function_entry
struct _zval_struct zval
zval * args
struct _zend_object_iterator zend_object_iterator
#define ZEND_RSRC_DTOR_FUNC(name)
Definition zend_list.h:29
int32_t zend_long
Definition zend_long.h:42
struct _zend_class_entry zend_class_entry
struct _zend_object zend_object
struct _zend_array HashTable
Definition zend_types.h:386
struct _zend_object_handlers zend_object_handlers
Definition zend_types.h:88
zend_string * name