Leaked source code of windows server 2003
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.4 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 2001
  3. Module Name:
  4. RpcIsapi.h
  5. Abstract:
  6. Definitions for the Rpc Proxy ISAPI extension
  7. Author:
  8. Kamen Moutafov [KamenM]
  9. Revision History:
  10. KamenM 09/04/2001 Creation
  11. --*/
  12. #if _MSC_VER >= 1200
  13. #pragma once
  14. #endif
  15. #ifndef __RPCISAPI_H_
  16. #define __RPCISAPI_H_
  17. const char *InChannelEstablishmentMethod = "RPC_IN_DATA";
  18. const int InChannelEstablishmentMethodLength = 11;
  19. const char *OutChannelEstablishmentMethod = "RPC_OUT_DATA";
  20. const int OutChannelEstablishmentMethodLength = 12;
  21. const char *RpcEchoDataMethod = "RPC_ECHO_DATA";
  22. const int RpcEchoDataMethodLength = 13;
  23. #define MaxServerAddressLength 1024
  24. #define MaxServerPortLength 6 // length of 65536 + 1 for terminating NULL
  25. const int ServerAddressAndPortSeparator = ':';
  26. const char CannotParseQueryString[] = "HTTP/1.0 504 Invalid query string\r\n";
  27. const char ServerErrorString[] = "HTTP/1.0 503 RPC Error: %d\r\n";
  28. const char AnonymousAccessNotAllowedString[] = "HTTP/1.0 401 Anonymous requests or requests on unsecure channel are not allowed\r\n";
  29. #define MaxEchoRequestSize 0x10
  30. const char EchoResponseHeader1[] = "HTTP/1.1 200 Success";
  31. const char EchoResponseHeader2[] = "Content-Type: application/rpc\r\nContent-Length:%d\r\nConnection: Keep-Alive\r\n\r\n";
  32. #endif // __RPCISAPI_H_