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.

43 lines
1.6 KiB

27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
27 years ago
  1. /*
  2. +----------------------------------------------------------------------+
  3. | PHP version 4.0 |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 1997, 1998, 1999, 2000 The PHP Group |
  6. +----------------------------------------------------------------------+
  7. | This source file is subject to version 2.0 of the PHP license, |
  8. | that is bundled with this package in the file LICENSE, and is |
  9. | available at through the world-wide-web at |
  10. | http://www.php.net/license/2_0.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: Jim Winstead (jimw@php.net) |
  16. +----------------------------------------------------------------------+
  17. */
  18. #ifndef _REQUEST_INFO_H_
  19. #define _REQUEST_INFO_H_
  20. typedef struct {
  21. char *script_name;
  22. char *current_user;
  23. int current_user_length;
  24. const char *script_filename;
  25. char *php_argv0;
  26. } php_request_info;
  27. #ifndef THREAD_SAFE
  28. PHPAPI extern php_request_info request_info;
  29. #endif
  30. extern int php_init_request_info(void *conf);
  31. extern int php_destroy_request_info(void *conf);
  32. #endif
  33. /*
  34. * Local variables:
  35. * tab-width: 4
  36. * c-basic-offset: 4
  37. * End:
  38. */