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: