/* * File: * list.h * Authors: * CSC195 2003S * Summary: * General list structures, independent of implementation. */ #ifndef _LIST_H_ #define _LIST_H_ typedef struct node { void *contents; struct node *next; } node; typedef struct LIST { node *head; node *current; int length; } *list; #endif /* _LIST_H_ */