Main Page Class Hierarchy Compound List File List Compound Members File Members

# site.c File Reference

`#include <sys/types.h>`
`#include <string.h>`
`#include <stdlib.h>`
`#include <stdio.h>`
`#include <kom.h>`
`#include <site.h>`

Go to the source code of this file.

## Functions
void | site_init (void)
int | site_load (char *name)
void | site_read (char *name)
int | site_com (void)
int | site_index (char *site, char *net, char *comp)
## Variables
int | initSite = 0
int | maxSite = 1800

## Function Documentation

int site_com | ( | void |  | ) |

| Definition at line 208 of file site.c. References k_int(), k_its(), k_str(), k_val(), maxSite, name, nSite, Site, site_init(), and site_read(). Referenced by site_load().

int site_index | ( | char * | site,
|  | char * | net,
|  | char * | comp
| ) |

| Definition at line 259 of file site.c. References nSite, and site_init().

void site_init | ( | void |  | ) |

| Definition at line 47 of file site.c. References initSite, nSite, and Site. Referenced by site_com(), site_index(), and site_read().

int site_load | ( | char * | name | ) |

| Definition at line 67 of file site.c. References com, k_close(), k_open(), k_rd(), k_str(), and site_com().

void site_read | ( | char * | name | ) |

| Definition at line 97 of file site.c. References maxSite, nSite, Site, and site_init(). Referenced by site_com().

## Variable Documentation

int initSite = 0`[static]`

| Definition at line 38 of file site.c. Referenced by site_init().

int maxSite = 1800`[static]`

| Definition at line 41 of file site.c. Referenced by site_com(), and site_read().