Documentation  |   Table of Contents   |  < Previous   |  Next >  

22    CPMLib68KInterface.h

Porting Applications to Palm OS® Cobalt

Exploring Palm OS®

The CPM Library APIs are largely unchanged, except for the fact that all functions used to take as their first parameter the CPM Library reference number, and now they do not.

Deleted APIs ^TOP^

Table 22.1  Deleted #defines

Deleted API

Use instead

cpmLibTrap...

See "Patching Shared Libraries" of Exploring Palm OS: System Management for information on function entry points.

Modified APIs ^TOP^

In all of the functions listed below, you previously supplied the CPM Library reference number as the first parameter. In Palm OS Cobalt this no longer needed, so the parameter has been removed in the ARM-native APIs.

Table 22.2  Modified functions 

CPMLibAddRandomSeed

CPMLibClose

CPMLibDecrypt

CPMLibDecryptFinal

CPMLibDecryptInit

CPMLibDecryptUpdate

CPMLibEncrypt

CPMLibEncryptFinal

CPMLibEncryptInit

CPMLibEncryptUpdate

CPMLibEnumerateProviders

CPMLibExportCipherInfo

CPMLibExportHashInfo

CPMLibExportKeyInfo

CPMLibExportVerifyInfo

CPMLibGenerateKey

CPMLibGenerateRandomBytes

CPMLibGetInfo

CPMLibGetProviderInfo

CPMLibHash

CPMLibHashFinal

CPMLibHashInit

CPMLibHashUpdate

CPMLibImportCipherInfo

CPMLibImportHashInfo

CPMLibImportKeyInfo

CPMLibImportVerifyInfo

CPMLibOpen

CPMLibReleaseCipherInfo

CPMLibReleaseHashInfo

CPMLibReleaseKeyInfo

CPMLibReleaseVerifyInfo

CPMLibSetDebugLevel

CPMLibSetDefaultProvider

CPMLibSleep

CPMLibVerify

CPMLibVerifyFinal

CPMLibVerifyInit

CPMLibVerifyUpdate

CPMLibWake