Back to index

php5  5.3.10
Functions | Variables
pdo_oci.c File Reference
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
#include "pdo/php_pdo.h"
#include "pdo/php_pdo_driver.h"
#include "php_pdo_oci.h"
#include "php_pdo_oci_int.h"

Go to the source code of this file.

Functions

 PHP_MINIT_FUNCTION (pdo_oci)
 PHP_MSHUTDOWN_FUNCTION (pdo_oci)
 PHP_MINFO_FUNCTION (pdo_oci)

Variables

const zend_function_entry pdo_oci_functions []
zend_module_entry pdo_oci_module_entry
const ub4 PDO_OCI_INIT_MODE
OCIEnv * pdo_oci_Env = NULL

Function Documentation

PHP_MINFO_FUNCTION ( pdo_oci  )

Definition at line 118 of file pdo_oci.c.

{
       php_info_print_table_start();
       php_info_print_table_header(2, "PDO Driver for OCI 8 and later", "enabled");
       php_info_print_table_end();
}

Here is the call graph for this function:

PHP_MINIT_FUNCTION ( pdo_oci  )

Definition at line 91 of file pdo_oci.c.

{
       php_pdo_register_driver(&pdo_oci_driver);

#if HAVE_OCIENVCREATE
       OCIEnvCreate(&pdo_oci_Env, PDO_OCI_INIT_MODE, NULL, NULL, NULL, NULL, 0, NULL);
#else
       OCIInitialize(PDO_OCI_INIT_MODE, NULL, NULL, NULL, NULL);
       OCIEnvInit(&pdo_oci_Env, OCI_DEFAULT, 0, NULL);
#endif

       return SUCCESS;
}

Here is the call graph for this function:

PHP_MSHUTDOWN_FUNCTION ( pdo_oci  )

Definition at line 108 of file pdo_oci.c.

{
       php_pdo_unregister_driver(&pdo_oci_driver);
       OCIHandleFree((dvoid*)pdo_oci_Env, OCI_HTYPE_ENV);
       return SUCCESS;
}

Here is the call graph for this function:


Variable Documentation

OCIEnv* pdo_oci_Env = NULL

Definition at line 87 of file pdo_oci.c.

Initial value:

Definition at line 34 of file pdo_oci.c.

const ub4 PDO_OCI_INIT_MODE
Initial value:
 




                     OCI_DEFAULT

Definition at line 71 of file pdo_oci.c.

zend_module_entry pdo_oci_module_entry
Initial value:

Definition at line 48 of file pdo_oci.c.