Gets the version of a topology.
int
tpm_iterversion(
ade_id iter_id,
char *buffer,
int buflen);
Returns RTNORM or an error code.
iter_id | Iterator ID. |
buffer | Buffer for result (char). |
buflen | Length of buffer (int). |
The function gets the version of the topology that the iterator is pointing to. The version of a topology is the version of ADE in which it was created, for example, "2.026". The function gets the same result as tpm_infoversion. The difference is that tpm_infoversion requires a topology ID, and so it works only on topologies that are open.