Back to index

php5  5.3.10
php_oci8.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1997-2012 The PHP Group                                |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 3.01 of the PHP license,      |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.php.net/license/3_01.txt                                  |
00011    | If you did not receive a copy of the PHP license and are unable to   |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@php.net so we can mail you a copy immediately.               |
00014    +----------------------------------------------------------------------+
00015    | Authors: Stig Sæther Bakken <ssb@php.net>                            |
00016    |          Thies C. Arntzen <thies@thieso.net>                         |
00017    |                                                                      |
00018    | Collection support by Andy Sautins <asautins@veripost.net>           |
00019    | Temporary LOB support by David Benson <dbenson@mancala.com>          |
00020    | ZTS per process OCIPLogon by Harald Radi <harald.radi@nme.at>        |
00021    |                                                                      |
00022    | Redesigned by: Antony Dovgal <antony@zend.com>                       |
00023    |                Andi Gutmans <andi@zend.com>                          |
00024    |                Wez Furlong <wez@omniti.com>                          |
00025    +----------------------------------------------------------------------+
00026 */
00027 
00028 /* $Id: php_oci8.h 321634 2012-01-01 13:15:04Z felipe $ */
00029 
00030 #if HAVE_OCI8
00031 # ifndef PHP_OCI8_H
00032 #  define PHP_OCI8_H
00033 
00034 #ifdef ZTS
00035 # include "TSRM.h"
00036 #endif
00037 
00038 
00039 /*
00040  * The version of the OCI8 extension.
00041  */
00042 #ifdef PHP_OCI8_VERSION
00043 /* The definition of PHP_OCI8_VERSION changed in PHP 5.3 and building
00044  * this code with PHP 5.2 and earlier (e.g. when using OCI8 from PECL)
00045  * will conflict.
00046  */
00047 #undef PHP_OCI8_VERSION
00048 #endif
00049 #define PHP_OCI8_VERSION "1.4.7"
00050 
00051 extern zend_module_entry oci8_module_entry;
00052 #define phpext_oci8_ptr &oci8_module_entry
00053 #define phpext_oci8_11g_ptr &oci8_module_entry
00054 
00055 
00056 PHP_MINIT_FUNCTION(oci);
00057 PHP_RINIT_FUNCTION(oci);
00058 PHP_MSHUTDOWN_FUNCTION(oci);
00059 PHP_RSHUTDOWN_FUNCTION(oci);
00060 PHP_MINFO_FUNCTION(oci);
00061 
00062 # endif /* !PHP_OCI8_H */
00063 #else /* !HAVE_OCI8 */
00064 
00065 # define oci8_module_ptr NULL
00066 
00067 #endif /* HAVE_OCI8 */
00068 
00069 /*
00070  * Local variables:
00071  * tab-width: 4
00072  * c-basic-offset: 4
00073  * End:
00074  */