1 /* 2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1997-2014 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 /* $Id$ */ 29 30 #if HAVE_OCI8 31 # ifndef PHP_OCI8_H 32 # define PHP_OCI8_H 33 34 #ifdef ZTS 35 # include "TSRM.h" 36 #endif 37 38 39 /* 40 * The version of the OCI8 extension. 41 */ 42 #ifdef PHP_OCI8_VERSION 43 /* The definition of PHP_OCI8_VERSION changed in PHP 5.3 and building 44 * this code with PHP 5.2 and earlier (e.g. when using OCI8 from PECL) 45 * will conflict. 46 */ 47 #undef PHP_OCI8_VERSION 48 #endif 49 #define PHP_OCI8_VERSION "1.4.9" 50 51 extern zend_module_entry oci8_module_entry; 52 #define phpext_oci8_ptr &oci8_module_entry 53 #define phpext_oci8_11g_ptr &oci8_module_entry 54 55 56 PHP_MINIT_FUNCTION(oci); 57 PHP_RINIT_FUNCTION(oci); 58 PHP_MSHUTDOWN_FUNCTION(oci); 59 PHP_RSHUTDOWN_FUNCTION(oci); 60 PHP_MINFO_FUNCTION(oci); 61 62 # endif /* !PHP_OCI8_H */ 63 #else /* !HAVE_OCI8 */ 64 65 # define oci8_module_ptr NULL 66 67 #endif /* HAVE_OCI8 */ 68 69 /* 70 * Local variables: 71 * tab-width: 4 72 * c-basic-offset: 4 73 * End: 74 */ 75