// Source: seelist.h // Author: Michele Estebon // Date: 12/2/96 // For: CS1704: Introduction to Data Structures and Software Design // Last revision: 12/2/96 /************************************************************************ Header file for See Also List operations for DR. DOC Provided functions: (public functions) *************************************************************************/ #ifndef SEELIST_H #define SEELIST_H /*-- INCLUDES ----------------------------------------------------------*/ #include "listglob.h" #include "globals.h" /*-- TYPE DEFINITIONS --------------------------------------------------*/ typedef struct seenode* seeptr; typedef struct seenode { nodeptr seeitem; seeptr next; seeptr prev; }; /*-- PUBLIC DECLARATIONS -----------------------------------------------*/ void UpdateSeeList (seeptr& SeeList, winptr& seemenu, nodeptr curptr, nodeptr RFSet); void DestroySAL (seeptr &SeeList); nodeptr TraverseSAL (winptr &mainwin, winptr &seemenu, seeptr SeeList, nodeptr &curptr); void GetItemSAL (seeptr List, keytype &item); seeptr GetNextLinkSAL (seeptr List); int CountSAL (seeptr SeeList); /*-----------------------------------------------------------------------*/ #endif