4 * interface to the lab listing programs "lab" and "skyterm"
6 * will provide a list of ws or hosts for each lab in a list
8 * make_lablist() -> empty list
9 * add_lab(lablist, name) -> success if lab is know, this supports lab groups
10 * through attributes common to a set of labs
12 * fills in info, freeing old info
14 * the info in each list is an array of workstations - see below
15 * and a labinfo structure for the lab
18 #include "../db_client/db_client.h"
19 #include "../lib/dlink.h"
30 typedef struct workstation
37 typedef struct labinfo
50 #define lablist_make() (dl_head())
51 #define lablist_empty(l) (l == dl_next(l))
52 #define lablist_next(l) ((labinfo)dl_next(l))
54 char *add_lab(void *, char *);
55 void load_labs(void *);