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.

73 lines
1.4 KiB

  1. ///////////////////////////////////////////////////////////////////////
  2. //Header: staticshow.h
  3. // Purpose: Defining structures and prototypes for statishow.cpp.
  4. // Developers Name: surya
  5. // History:
  6. // Date Author Comments
  7. // 21th Aug 2001 surya Initial Version.
  8. // <creation> <author>
  9. // <modification> <author> <comments, references to code sections,
  10. // in case of bug fixes>
  11. ///////////////////////////////////////////////////////////////////////
  12. #ifndef _STATICSHOW_H_
  13. #define _STATICSHOW_H_
  14. const DWORD BUFFER_SIZE = 2048;
  15. const _TCHAR LocalGPOName[] = _TEXT("Local Computer Policy");
  16. //Filter DNS IDs
  17. const DWORD FILTER_MYADDRESS = 111;
  18. const DWORD FILTER_ANYADDRESS = 112;
  19. const DWORD FILTER_DNSADDRESS = 113;
  20. const DWORD FILTER_IPADDRESS = 114;
  21. const DWORD FILTER_IPSUBNET = 115;
  22. typedef struct _FilterDNS {
  23. DWORD FilterSrcNameID;
  24. DWORD FilterDestNameID;
  25. } FILTERDNS, *PFILTERDNS;
  26. //Function Declarations
  27. VOID
  28. PrintIPAddr(
  29. IN DWORD Addr
  30. );
  31. VOID
  32. GetFilterDNSDetails(
  33. IN PIPSEC_FILTER_SPEC pFilterData,
  34. IN OUT PFILTERDNS pFilterDNS
  35. );
  36. BOOL
  37. CheckSoft(
  38. IN IPSEC_SECURITY_METHOD IpsecSecurityMethods
  39. );
  40. DWORD
  41. GetLocalPolicyName(
  42. IN OUT PGPO pGPO
  43. );
  44. DWORD
  45. PrintDefaultRule(
  46. IN BOOL bVerbose,
  47. IN BOOL bTable,
  48. IN LPTSTR pszPolicyName,
  49. IN BOOL bWide
  50. );
  51. #endif //_STATICSHOW_H_