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.

50 lines
788 B

  1. /* Copyright (c) 1993, Microsoft Corporation, all rights reserved
  2. **
  3. ** ppputil.h
  4. ** Public header for miscellaneuos PPP common library functions.
  5. */
  6. #ifndef _PWUTIL_H_
  7. #define _PWUTIL_H_
  8. VOID
  9. DecodePasswordA(
  10. CHAR* pszPassword
  11. );
  12. VOID
  13. DecodePasswordW(
  14. WCHAR* pszPassword
  15. );
  16. VOID
  17. EncodePasswordA(
  18. CHAR* pszPassword
  19. );
  20. VOID
  21. EncodePasswordW(
  22. WCHAR* pszPassword
  23. );
  24. VOID
  25. WipePasswordA(
  26. CHAR* pszPassword
  27. );
  28. VOID
  29. WipePasswordW(
  30. WCHAR* pszPassword
  31. );
  32. #ifdef UNICODE
  33. #define DecodePassword DecodePasswordW
  34. #define EncodePassword EncodePasswordW
  35. #define WipePassword WipePasswordW
  36. #else
  37. #define DecodePassword DecodePasswordA
  38. #define EncodePassword EncodePasswordA
  39. #define WipePassword WipePasswordA
  40. #endif
  41. #endif // _PWUTIL_H_
  42.