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.

48 lines
1.6 KiB

  1. /////////////////////////////////////////////////////////////
  2. // Copyright(c) 2000, Microsoft Corporation
  3. //
  4. // print.h
  5. //
  6. // Created on 3/22/2000 by Dennis Kalinichenko (DKalin)
  7. // Revisions:
  8. //
  9. // Includes all the necessary definitions for print.cpp printing library
  10. //
  11. /////////////////////////////////////////////////////////////
  12. #ifndef _PRINT_H_
  13. #define _PRINT_H_
  14. #include "ipseccmd.h"
  15. #ifndef MAXCOMPUTERNAMELEN
  16. #define MAXCOMPUTERNAMELEN (1024)
  17. #endif
  18. #ifndef STRING_TEXT_SIZE
  19. #define STRING_TEXT_SIZE 128
  20. #endif
  21. #ifndef CERT_TEXT_SIZE
  22. #define CERT_TEXT_SIZE 8192
  23. #endif
  24. // forward declarations
  25. void PrintPolicies(IN IPSEC_IKE_POLICY& IPSecIkePol);
  26. void PrintQMOffer(IN IPSEC_QM_OFFER mmOffer, IN PTCHAR pszPrefix, IN PTCHAR pszPrefix2);
  27. void PrintFilterAction(IN IPSEC_QM_POLICY qmPolicy, IN PTCHAR pszPrefix);
  28. BOOL PrintFilter (IN TRANSPORT_FILTER tFilter, IN BOOL bPrintNegPol, IN BOOL bPrintSpecific);
  29. BOOL PrintTunnelFilter (IN TUNNEL_FILTER tFilter, IN BOOL bPrintNegPol, IN BOOL bPrintSpecific);
  30. BOOL PrintMMFilter (IN MM_FILTER mmFilter, IN BOOL bPrintNegPol, IN BOOL bPrintSpecific);
  31. void PrintMMPolicy(IN IPSEC_MM_POLICY mmPolicy, IN PTCHAR pszPrefix);
  32. void PrintMMOffer(IN IPSEC_MM_OFFER mmOffer, IN PTCHAR pszPrefix, IN PTCHAR pszPrefix2);
  33. void PrintAddr(IN ADDR addr);
  34. void PrintAuthInfo(IN IPSEC_MM_AUTH_INFO authInfo);
  35. void PrintMMAuthMethods(IN MM_AUTH_METHODS mmAuth, IN PTCHAR pszPrefix);
  36. #endif