/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * listglob.h : Structure declarations for data set nodes (pointer imp) * necessary for use of dblist / dblmanip Double - Linked * List operations * * Author : Michele D. Estebon * created : 10/29/96 * for CS1704: Intro to Data Structures and Software Design * Virginia Tech, Blacksburg, Virginia * revision 1.2 12/3/96 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #ifndef LISTGLOB_H #define LISTGLOB_H #include "globals.h" typedef fnametype keytype; struct node // double linked list ADT { keytype name; // file name codetype code; // file code labeltype label; // file label node* next; // pointer to next node node* prev; // pointer to previous node int refct; // count of category file references } ; typedef node *nodeptr; #endif