php_oci8.h 2.6 KB

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