class keyToolKey_c Key tool key class
|
| status_t Status |
|
| getKeyId () Get the key id of the current key object. |
|
| getDataCheckSum () Compute the checksum of the data in the key. |
| | getData () Get pointer to data buffer in key |
|
| getDataSize () Return size of data. |
|
| getRealSize () Return size of internal buffer. |
|
| alloc (int size) Allocate memory in key (previous contents MAY be deleted). |
|
| trash () Delete the data in a key. |
|
| commit () Commit this key (automatially timestamps. Does not affect aux time stamp.) |
|
| setMeta (char* password, char *data, int msize) Set meta field |
| | permissionLock (char *password) Lock a key |
| | permissionUnlock (char *password) Unlock the key |
|
| permissionForceUnlock () Force an Unlock of the key. |
|
| permissionForceLock (char *password) Force a lock even when its locked by some other password. |
| | getPermissionLockStatus (char *password, int size) Get the lock's status |
|
| getMeta () Get meta data. Returns ptr to the buffer. |
|
| getMetaSize () Return size of meta data. |
|
| stampTime () Force stamp the timestamp with the current time. Ie without doing a commit. |
|
| stampAuxTime () Stamp the aux time stamp. |
|
| setTimeStamp (double theTime) Set the time stamp to a particular time. |
|
| setAuxTimeStamp (double theTime) Set the aux time stamp to a particular time. |
|
| getTimeStamp () Get the time stamp. |
|
| getAuxTimeStamp () Get the aux time stamp. |
|
| Allocate memory while maintaining contents. |
|
| status_t resize(int size); |
Key tool key class. Objects of this type are created by the Key Tool Manager.
status_t permissionLock(char *password)
status_t permissionUnlock(char *password)
status_t getPermissionLockStatus(char *password, int size)
size - of password char buffer to fill.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de