Staging database Tcl API
This table shows the (key,value) that are stored per thread:
Tcl proc | Description | |
---|---|---|
1 | stageinit
(processname) |
Opens the staging database of the specified process. This is only required when called from hcitcl. |
2 | stageremovekeyspace (keyspace) |
Removes the keyspace and all its associated data. You cannot delete global keyspace. |
3 | stageget
(keyspace, key) |
Gets a user-defined value that is stored in the staging database. Key is any alpha numeric value. |
4 | stageset
(keyspace, key, data) |
Sets the user-defined value. The previous value is overwritten. |
5 | stageremove
(keyspace, key) |
Removes the user-defined key/value pair. |
6 | stagegetmsg
(keyspace, key)
|
Reads the message that is associated with the key from the staging database and returns a message handle. |
7 | stagesetmsg
(keyspace, key, msg_handle) |
Writes the message that is associated with the message handle into the staging database. |
8 | stagegetkeys
(keyspace) |
Gets all keys in the keyspace. |