home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / misc / dr.str / Source / RecentADT.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-14  |  450 b   |  23 lines  |  [TEXT/KAHL]

  1. /********************
  2.   Slide ADT Headers
  3.  ********************/
  4.  
  5. #include "Glove.h"
  6.  
  7. /*** Constant Definitions ***/
  8.  
  9. #define RECENTLENGTH    13        /* Equal to (((PACKETSIZE + 1) * 2) - 1) */
  10.  
  11. /*** Type and Structure Definitions ***/
  12.  
  13. typedef struct recent {
  14.     char    Items[RECENTLENGTH];
  15.     int        Front;
  16. } RecentType;
  17.  
  18. /*** Function Prototypes ***/
  19. void InitRecent();
  20. void AddToRecent(char newItem);
  21. void RecentToGlove(GloveState *s);
  22. void DumpRecent();
  23.