php_oci8.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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@php.net> |
  24. | Wez Furlong <wez@omniti.com> |
  25. +----------------------------------------------------------------------+
  26. */
  27. #if HAVE_OCI8
  28. # ifndef PHP_OCI8_H
  29. # define PHP_OCI8_H
  30. #ifdef ZTS
  31. # include "TSRM.h"
  32. #endif
  33. /*
  34. * The version of the OCI8 extension.
  35. */
  36. #ifdef PHP_OCI8_VERSION
  37. /* The definition of PHP_OCI8_VERSION changed in PHP 5.3 and building
  38. * this code with PHP 5.2 (e.g. when using OCI8 from PECL) will conflict.
  39. */
  40. #undef PHP_OCI8_VERSION
  41. #endif
  42. #define PHP_OCI8_VERSION "2.2.0"
  43. extern zend_module_entry oci8_module_entry;
  44. #define phpext_oci8_ptr &oci8_module_entry
  45. #define phpext_oci8_11g_ptr &oci8_module_entry
  46. #define phpext_oci8_12c_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. */