Gets the cleanup action at a given list position.
(tpm_cleanactionlistgetat clean_var_id index action_var_id)
Returns a cleanup action as a clean group type (integer) or 0 on error: see tpm_cleangrouptype for a list of types.
clean_var_id | Cleanup variables ID (real) returned by tpm_varalloc |
index | List position to access (integer) |
action_var_id | Cleanup action variables ID (real) returned by tpm_varalloc |
The clean_var_id argument references properties for the cleanup operation that you are preparing to initiate (see Cleanup Variables). These properties include the action list.
The index argument is a zero-based position in the action list. A value greater than or equal to the list size or less than 0 returns an error.
The action_var_id argument references properties affecting the specific cleanup action that you are getting (see Cleanup Action Variables). Use tpm_varget or tpm_varlist to read them after calling tpm_cleanactionlistgetat.