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.

62 lines
2.6 KiB

27 years ago
  1. /*
  2. +----------------------------------------------------------------------+
  3. | PHP HTML Embedded Scripting Language Version 3.0 |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 1997,1998 PHP Development Team (See Credits file) |
  6. +----------------------------------------------------------------------+
  7. | This program is free software; you can redistribute it and/or modify |
  8. | it under the terms of one of the following licenses: |
  9. | |
  10. | A) the GNU General Public License as published by the Free Software |
  11. | Foundation; either version 2 of the License, or (at your option) |
  12. | any later version. |
  13. | |
  14. | B) the PHP License as published by the PHP Development Team and |
  15. | included in the distribution in the file: LICENSE |
  16. | |
  17. | This program is distributed in the hope that it will be useful, |
  18. | but WITHOUT ANY WARRANTY; without even the implied warranty of |
  19. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
  20. | GNU General Public License for more details. |
  21. | |
  22. | You should have received a copy of both licenses referred to here. |
  23. | If you did not, or have any questions about PHP licensing, please |
  24. | contact core@php.net. |
  25. +----------------------------------------------------------------------+
  26. | Author: Jim Winstead (jimw@php.net) |
  27. +----------------------------------------------------------------------+
  28. */
  29. #ifndef _REQUEST_INFO_H_
  30. #define _REQUEST_INFO_H_
  31. typedef struct {
  32. char *filename;
  33. char *path_info;
  34. const char *path_translated;
  35. char *query_string;
  36. const char *request_method;
  37. char *script_name;
  38. char *current_user;
  39. int current_user_length;
  40. unsigned int content_length;
  41. const char *content_type;
  42. const char *cookies;
  43. const char *script_filename;
  44. char *php_argv0;
  45. } php3_request_info;
  46. #ifndef THREAD_SAFE
  47. extern php3_request_info request_info;
  48. #endif
  49. extern int php3_init_request_info(void *conf);
  50. extern int php3_destroy_request_info(void *conf);
  51. #endif
  52. /*
  53. * Local variables:
  54. * tab-width: 4
  55. * c-basic-offset: 4
  56. * End:
  57. */