Gets the ID of a link or node in the shortest path.
ade_id
tpm_traceshortscan(
ade_id trace_id,
int flag);
Returns a topology ID or ADE_NULLID.
trace_id | The tracing model ID, returned by tpm_tracealloc. |
flag | Path element code. Values can be: 0 Current element 1 First element 2 Last element 3 Next element 4 Previous element |
First use tpm_traceshort to calculate a shortest path.