Next: Links
Up: Internal Data Structures
Previous: Unit Array
Figure: Site list
The site data structure was designed to handle the input functions of
the unit. The sites are constructed as a linear linked list. Several sites
are grouped in an array (site array), each containing several hundred
sites. The site arrays are also connected by a linked list. Thereby,
empty, no longer needed, arrays can be freed.
The internal representation of a site has three components:
- *links is a pointer to the input connections (links) of
the site.
- *site_table is a pointer to the so called site
table. The site table contains information about the input function
and the name of the site.
- *next points to the next site of the unit. The list is
terminated by NIL.
Niels Mache
Wed May 17 11:23:58 MET DST 1995