home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / gopher / Unix / gopher+1.2b4 / object / STAarray.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-26  |  1.5 KB  |  51 lines

  1. /********************************************************************
  2.  * lindner
  3.  * 3.2
  4.  * 1993/03/26 19:51:05
  5.  * /home/mudhoney/GopherSrc/CVS/gopher+/object/STAarray.h,v
  6.  * Exp
  7.  *
  8.  * Paul Lindner, University of Minnesota CIS.
  9.  *
  10.  * Copyright 1991, 1992 by the Regents of the University of Minnesota
  11.  * see the file "Copyright" in the distribution for conditions of use.
  12.  *********************************************************************
  13.  * MODULE: STAarray.h
  14.  * Header file, abstraction of a dynamic Strings array.
  15.  *********************************************************************
  16.  * Revision History:
  17.  * STAarray.h,v
  18.  * Revision 3.2  1993/03/26  19:51:05  lindner
  19.  * Added STApop
  20.  *
  21.  * Revision 3.1.1.1  1993/02/11  18:03:07  lindner
  22.  * Gopher+1.2beta release
  23.  *
  24.  * Revision 1.1  1993/01/31  00:34:40  lindner
  25.  * Initial revision
  26.  *
  27.  * Revision 1.1  1992/12/10  23:27:52  lindner
  28.  * gopher 1.1 release
  29.  *
  30.  *
  31.  *********************************************************************/
  32.  
  33. #ifndef STAARRAY_H
  34. #define STAARRAY_H
  35.  
  36. #include "STRstring.h"
  37. #include "DAarray.h"
  38.  
  39. typedef DynArray StrArray;
  40. #define STAnew(a)        (DAnew((a),STRnew,STRinit,STRdestroy,STRcpy))
  41. #define STAinit(a)       (DAinit((a)))
  42. #define STAgetTop(a)     (DAgetTop(a))
  43. #define STAgetEntry(a,b) (String*)(DAgetEntry(a,b))
  44. #define STApush(a,b)     (DApush((DynArray*)(a),(b)))
  45. #define STApop(a)        (String*)(DApop(a))
  46. #define STAdestroy(a)    (DAdestroy(a))
  47. #define STAcpy(a,b)      (DAcpy(a,b))
  48.  
  49.  
  50. #endif
  51.