You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.8 KiB

27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
24 years ago
27 years ago
27 years ago
25 years ago
27 years ago
27 years ago
  1. /*
  2. +----------------------------------------------------------------------+
  3. | PHP Version 5 |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 1997-2008 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: Rasmus Lerdorf <rasmus@php.net> |
  16. +----------------------------------------------------------------------+
  17. */
  18. /* $Id$ */
  19. #ifndef MOD_PHP_H
  20. #define MOD_PHP_H
  21. #if !defined(WIN32) && !defined(WINNT)
  22. #ifndef MODULE_VAR_EXPORT
  23. #define MODULE_VAR_EXPORT
  24. #endif
  25. #endif
  26. typedef struct {
  27. long engine;
  28. long last_modified;
  29. long xbithack;
  30. long terminate_child;
  31. zend_bool in_request;
  32. } php_apache_info_struct;
  33. extern zend_module_entry apache_module_entry;
  34. #ifdef ZTS
  35. extern int php_apache_info_id;
  36. #define AP(v) TSRMG(php_apache_info_id, php_apache_info_struct *, v)
  37. #else
  38. extern php_apache_info_struct php_apache_info;
  39. #define AP(v) (php_apache_info.v)
  40. #endif
  41. #endif /* MOD_PHP_H */
  42. /*
  43. * Local variables:
  44. * tab-width: 4
  45. * c-basic-offset: 4
  46. * End:
  47. */