php_pdo_dblib.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. +----------------------------------------------------------------------+
  3. | Copyright (c) The PHP Group |
  4. +----------------------------------------------------------------------+
  5. | This source file is subject to version 3.01 of the PHP license, |
  6. | that is bundled with this package in the file LICENSE, and is |
  7. | available through the world-wide-web at the following url: |
  8. | https://www.php.net/license/3_01.txt |
  9. | If you did not receive a copy of the PHP license and are unable to |
  10. | obtain it through the world-wide-web, please send a note to |
  11. | license@php.net so we can mail you a copy immediately. |
  12. +----------------------------------------------------------------------+
  13. | Author: Wez Furlong <wez@php.net> |
  14. | Frank M. Kromann <frank@kromann.info> |
  15. +----------------------------------------------------------------------+
  16. */
  17. #ifndef PHP_PDO_DBLIB_H
  18. #define PHP_PDO_DBLIB_H
  19. #ifdef PDO_DBLIB_IS_MSSQL
  20. extern zend_module_entry pdo_mssql_module_entry;
  21. #define phpext_pdo_mssql_ptr &pdo_mssql_module_entry
  22. #else
  23. extern zend_module_entry pdo_dblib_module_entry;
  24. #define phpext_pdo_dblib_ptr &pdo_dblib_module_entry
  25. #endif
  26. #include "php_version.h"
  27. #define PHP_PDO_DBLIB_VERSION PHP_VERSION
  28. #ifdef ZTS
  29. # include "TSRM.h"
  30. #endif
  31. PHP_MINIT_FUNCTION(pdo_dblib);
  32. PHP_MSHUTDOWN_FUNCTION(pdo_dblib);
  33. PHP_MINFO_FUNCTION(pdo_dblib);
  34. PHP_RSHUTDOWN_FUNCTION(pdo_dblib);
  35. #endif