home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / comms / network / grn1src.lha / memalloc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  502 b   |  28 lines

  1. #ifndef _MEMALLOC_H_
  2. #define _MEMALLOC_H_
  3.  
  4. ART   *AllocART   (const char *from, const char *subject);
  5. NODE  *AllocNODE  (const char *name, const int len);
  6. GLIST *AllocGLIST (const char *in_group, const char *in_header);
  7.  
  8. #ifdef SLOW
  9.  
  10. void FreeART  (ART *ap);
  11. void FreeNODE (NODE *node);
  12.  
  13. #else
  14.  
  15. #define FreeART(ap)     free (ap)
  16. #define FreeNODE(node)  free (node)
  17.  
  18. #endif
  19.  
  20. void  FreeListNode (LIST *list);
  21.  
  22. #if 0
  23. /* DEBUG SUPPORT */
  24. void *grn_malloc (const char *str, const long size);
  25. #endif
  26.  
  27. #endif
  28.