php_com_dotnet.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. | Author: Wez Furlong <wez@thebrainroom.com> |
  16. +----------------------------------------------------------------------+
  17. */
  18. #ifndef PHP_COM_DOTNET_H
  19. #define PHP_COM_DOTNET_H
  20. extern zend_module_entry com_dotnet_module_entry;
  21. #define phpext_com_dotnet_ptr &com_dotnet_module_entry
  22. #ifdef ZTS
  23. #include "TSRM.h"
  24. #endif
  25. #define PHP_COM_DOTNET_API __declspec(dllexport)
  26. #include "php_version.h"
  27. #define PHP_COM_DOTNET_VERSION PHP_VERSION
  28. PHP_MINIT_FUNCTION(com_dotnet);
  29. PHP_MSHUTDOWN_FUNCTION(com_dotnet);
  30. PHP_RINIT_FUNCTION(com_dotnet);
  31. PHP_RSHUTDOWN_FUNCTION(com_dotnet);
  32. PHP_MINFO_FUNCTION(com_dotnet);
  33. ZEND_BEGIN_MODULE_GLOBALS(com_dotnet)
  34. zend_bool allow_dcom;
  35. zend_bool autoreg_verbose;
  36. zend_bool autoreg_on;
  37. zend_bool autoreg_case_sensitive;
  38. void *dotnet_runtime_stuff; /* opaque to avoid cluttering up other modules */
  39. int code_page; /* default code_page if left unspecified */
  40. zend_bool rshutdown_started;
  41. ZEND_END_MODULE_GLOBALS(com_dotnet)
  42. #if defined(ZTS) && defined(COMPILE_DL_COM_DOTNET)
  43. ZEND_TSRMLS_CACHE_EXTERN()
  44. #endif
  45. extern ZEND_DECLARE_MODULE_GLOBALS(com_dotnet);
  46. #define COMG(v) ZEND_MODULE_GLOBALS_ACCESSOR(com_dotnet, v)
  47. #endif /* PHP_COM_DOTNET_H */
  48. /*
  49. * Local variables:
  50. * tab-width: 4
  51. * c-basic-offset: 4
  52. * End:
  53. * vim600: noet sw=4 ts=4 fdm=marker
  54. * vim<600: noet sw=4 ts=4
  55. */