palm-os-sdk/sdk-5r4/include/Core/System/Password.h
2018-08-30 15:18:26 +01:00

46 lines
981 B
C
Executable File

/******************************************************************************
*
* Copyright (c) 1994-2004 PalmSource, Inc. All rights reserved.
*
* File: Password.h
*
* Release: eclipse 5 SDK (68K) R4.
*
* Description:
* Password include file
*
*****************************************************************************/
#ifndef __PASSWORD_H__
#define __PASSWORD_H__
// Include elementary types
#include <PalmTypes.h> // Basic types
#include <CoreTraps.h> // Trap Numbers.
#define pwdLength 32
#define pwdEncryptionKeyLength 64
#ifdef __cplusplus
extern "C" {
#endif
Boolean PwdExists()
SYS_TRAP(sysTrapPwdExists);
Boolean PwdVerify(Char *string)
SYS_TRAP(sysTrapPwdVerify);
void PwdSet(Char *oldPassword, Char *newPassword)
SYS_TRAP(sysTrapPwdSet);
void PwdRemove(void)
SYS_TRAP(sysTrapPwdRemove);
#ifdef __cplusplus
}
#endif
#endif // __PASSWORD_H__