Gets the type of the topology.
int
tpm_itertype(
ade_id iter_id);
Returns a topology type code (int) or ADE_NULLID.
iter_id | Iterator ID. |
The function gets the type of the topology that the iterator is pointing to. The topology type codes are 1 = node, 2 = network, 3 = polygon.
For an example that shows how you can use Topology Iterating functions to find all the topologies the system knows about, see tpm_iterstart.