xref: /PHP-5.6/ext/oci8/php_oci8.h (revision 78488a54)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 5                                                        |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 1997-2016 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 (e.g. when using OCI8 from PECL) will conflict.
45  */
46 #undef PHP_OCI8_VERSION
47 #endif
48 #define PHP_OCI8_VERSION "2.0.12"
49 
50 extern zend_module_entry oci8_module_entry;
51 #define phpext_oci8_ptr &oci8_module_entry
52 #define phpext_oci8_11g_ptr &oci8_module_entry
53 
54 
55 PHP_MINIT_FUNCTION(oci);
56 PHP_RINIT_FUNCTION(oci);
57 PHP_MSHUTDOWN_FUNCTION(oci);
58 PHP_RSHUTDOWN_FUNCTION(oci);
59 PHP_MINFO_FUNCTION(oci);
60 
61 # endif /* !PHP_OCI8_H */
62 #else /* !HAVE_OCI8 */
63 
64 # define oci8_module_ptr NULL
65 
66 #endif /* HAVE_OCI8 */
67 
68 /*
69  * Local variables:
70  * tab-width: 4
71  * c-basic-offset: 4
72  * End:
73  */
74