The Complete SPRLIB & ANNLIB

get_inlink

- maps two unit IDs to a link pointer

SYNOPSIS

LINK *get_inlink (SourceUnitId, DestUnitId, net)

ARGUMENTS

long SourceUnitId The ID of the source ('from') UNIT of the LINK to be found.
long DestUnitId The ID of the destination ('to') UNIT of the LINK to be found.
NET *net A pointer to a correctly filled NET structure.

RETURNS

A pointer to the corresponding LINK, or NULL in case that LINK is not found.

FUNCTION

This function finds the requested LINK by traversing the linked list InLinks of the UNIT with ID SourceUnitId. It uses get_unit to find this unit.

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998