Gets the description of a topology.
int
tpm_iterdesc(
ade_id iter_id,
char *buffer,
int buflen);
Returns RTNORM or an error code.
iter_id | Iterator ID. |
buffer | Pointer to result buffer. |
buflen | Result buffer length. |
The function gets a description 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.