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.

43 lines
1.4 KiB

  1. //---------------------------------------------------------------------------
  2. // Copyright (C) Microsoft Corporation, 1997 - 1999
  3. //
  4. // httpreg.h
  5. //
  6. // HTTP/RPC protocol specific constants and types.
  7. //
  8. // Author:
  9. // 04-23-97 Edward Reus Initial version.
  10. //
  11. //---------------------------------------------------------------------------
  12. //---------------------------------------------------------------------------
  13. // Constants:
  14. //---------------------------------------------------------------------------
  15. #define REG_PROXY_PATH_STR "Software\\Microsoft\\Rpc\\RpcProxy"
  16. #define REG_PROXY_ENABLE_STR "Enabled"
  17. #define REG_PROXY_VALID_PORTS_STR "ValidPorts"
  18. //---------------------------------------------------------------------------
  19. // Types:
  20. //---------------------------------------------------------------------------
  21. typedef struct _ValidPort
  22. {
  23. char *pszMachine;
  24. unsigned short usPort1;
  25. unsigned short usPort2;
  26. } ValidPort;
  27. //---------------------------------------------------------------------------
  28. // Functions:
  29. //---------------------------------------------------------------------------
  30. extern BOOL HttpProxyCheckRegistry( OUT DWORD *pdwEnabled,
  31. OUT ValidPorts **ppValidPorts );
  32. extern void HttpFreeValidPortList( IN ValidPort *pValidPorts );