Gets the element ID of a link or node in the best route.
ade_id
tpm_tracebestroutescan
ade_id trace_id,
int flag);
Returns a element 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_tracebestroute to calculate the best route.