password.pp 798 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {$MACRO ON}
  2. (******************************************************************************
  3. *
  4. * Copyright (c) 1994-2000 Palm, Inc. or its subsidiaries.
  5. * All rights reserved.
  6. *
  7. * File: Password.h
  8. *
  9. * Release: Palm OS SDK 4.0 (63220)
  10. *
  11. * Description:
  12. * Password include file
  13. *
  14. * History:
  15. * 4/1/95 - created by Roger Flores
  16. *
  17. *****************************************************************************)
  18. unit password;
  19. interface
  20. uses coretraps;
  21. const
  22. pwdLength = 32;
  23. pwdEncryptionKeyLength = 64;
  24. function PwdExists: Boolean; syscall sysTrapPwdExists;
  25. function PwdVerify(Astring: PChar): Boolean; syscall sysTrapPwdVerify;
  26. procedure PwdSet(oldPassword, newPassword: PChar); syscall sysTrapPwdSet;
  27. procedure PwdRemove; syscall sysTrapPwdRemove;
  28. implementation
  29. end.