Gets the name of a topology.
int
tpm_itername(
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 name of the topology that the iterator points to.
For an example that shows how you can use Topology Iterating functions to find all the topologies the system knows about, see tpm_iterstart.