home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 308_01 / stack.h < prev    next >
Text File  |  1990-06-17  |  858b  |  30 lines

  1.  
  2. /*
  3.     HEADER:         CUG308;
  4.     TITLE:          Generic push-down stack header file;
  5.     DESCRIPTION:    "header file for generic push-down
  6.             stack module.";
  7.     DATE:           5/6/90;
  8.     VERSION:        2.01;
  9.     FILENAME:       STACK.H;
  10.     REQUIREMENTS:    STACK.C, DEBUG.OBJ, DEBUG.H, LIST.OBJ, LIST.H;
  11.     SEE-ALSO:       STACK.C, LIST.DOC, LIST.C, LIST.H, DEBUG.H;
  12.     USAGE:          "link stack.obj, debug.obj and list.obj with
  13.             your main program";
  14.  
  15.     AUTHOR:         Michael Kelly
  16.             254 Gold St. Boston Ma. 02127;
  17.     COPYRIGHT:    May be used freely if authorship is acknowledged;
  18. */
  19.  
  20.  
  21. #if !defined(STACK_H)
  22. #define STACK_H
  23.  
  24. int push(void *data, size_t datasize);
  25. int pop(void *databuf);
  26. int copytos(void *databuf);    /* copy item on stack top without popping */
  27. size_t tossize(void);           /* returns size of item on stack top     */
  28.  
  29. #endif
  30.