Source code of Windows XP (NT5)
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.

56 lines
1.1 KiB

  1. //
  2. // Microsoft Corporation - Copyright 1997
  3. //
  4. //
  5. // RESPONSE.H -
  6. //
  7. #ifndef _RESPONSE_H_
  8. #define _RESPONSE_H_
  9. // globals
  10. extern const char g_cszTableHeader[];
  11. extern const char g_cszTableEnd[];
  12. // Defines
  13. #define RESPONSE_BUF_SIZE 4096
  14. // METHODS
  15. enum QUERYMETHOD {
  16. METHOD_UNKNOWN,
  17. METHOD_POST,
  18. METHOD_POSTMULTIPART,
  19. METHOD_GET,
  20. METHOD_POSTTEXTPLAIN
  21. };
  22. // Methods
  23. BOOL SendSuccess(
  24. QUERYMETHOD eMethod,
  25. LPECB lpEcb,
  26. LPSTR lpszOut,
  27. LPSTR lpszDebug,
  28. LPBYTE lpbData,
  29. DWORD dwSize,
  30. LPDUMPTABLE lpDT );
  31. BOOL SendFailure(
  32. QUERYMETHOD eMethod,
  33. LPECB lpEcb,
  34. LPSTR lpszOut,
  35. LPSTR lpszDebug,
  36. LPBYTE lpbData,
  37. DWORD dwSize,
  38. LPDUMPTABLE lpDT );
  39. BOOL SendRedirect( LPECB lpEcb, LPSTR lpszURL );
  40. BOOL SendEcho( LPECB lpEcb );
  41. BOOL SendServerHeader( LPECB lpEcb );
  42. BOOL OutputHTMLString( LPECB lpEcb, LPSTR lpszOut );
  43. BOOL HexDump(
  44. LPECB lpEcb,
  45. LPBYTE lpbData,
  46. DWORD dwLength,
  47. LPDUMPTABLE lpDT );
  48. #endif // _RESPONSE_H_