1 /* 2 +----------------------------------------------------------------------+ 3 | PHP Version 7 | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1997-2018 The PHP Group | 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 15 | Authors: Stig Sæther Bakken <ssb@php.net> | 16 | Thies C. Arntzen <thies@thieso.net> | 17 | | 18 | Collection support by Andy Sautins <asautins@veripost.net> | 19 | Temporary LOB support by David Benson <dbenson@mancala.com> | 20 | ZTS per process OCIPLogon by Harald Radi <harald.radi@nme.at> | 21 | | 22 | Redesigned by: Antony Dovgal <antony@zend.com> | 23 | Andi Gutmans <andi@zend.com> | 24 | Wez Furlong <wez@omniti.com> | 25 +----------------------------------------------------------------------+ 26 */ 27 28 #if HAVE_OCI8 29 # ifndef PHP_OCI8_H 30 # define PHP_OCI8_H 31 32 #ifdef ZTS 33 # include "TSRM.h" 34 #endif 35 36 37 /* 38 * The version of the OCI8 extension. 39 */ 40 #ifdef PHP_OCI8_VERSION 41 /* The definition of PHP_OCI8_VERSION changed in PHP 5.3 and building 42 * this code with PHP 5.2 (e.g. when using OCI8 from PECL) will conflict. 43 */ 44 #undef PHP_OCI8_VERSION 45 #endif 46 #define PHP_OCI8_VERSION "2.2.0" 47 48 extern zend_module_entry oci8_module_entry; 49 #define phpext_oci8_ptr &oci8_module_entry 50 #define phpext_oci8_11g_ptr &oci8_module_entry 51 #define phpext_oci8_12c_ptr &oci8_module_entry 52 53 54 PHP_MINIT_FUNCTION(oci); 55 PHP_RINIT_FUNCTION(oci); 56 PHP_MSHUTDOWN_FUNCTION(oci); 57 PHP_RSHUTDOWN_FUNCTION(oci); 58 PHP_MINFO_FUNCTION(oci); 59 60 # endif /* !PHP_OCI8_H */ 61 #else /* !HAVE_OCI8 */ 62 63 # define oci8_module_ptr NULL 64 65 #endif /* HAVE_OCI8 */ 66 67 /* 68 * Local variables: 69 * tab-width: 4 70 * c-basic-offset: 4 71 * End: 72 */ 73