home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume1 / 8712 / mkmf / 2 / src / dlist.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-07-13  |  785 b   |  33 lines

  1. /* $Header: dlist.h,v 1.1 85/04/23 13:56:24 nicklin Exp $ */
  2.  
  3. /*
  4.  * Dependency list definitions
  5.  *
  6.  * Author: Peter J. Nicklin
  7.  */
  8.  
  9. /*
  10.  * Dependency list block
  11.  */
  12. typedef struct _dlblk
  13.     {
  14.     int d_type;            /* source file type */
  15.     struct slblk *d_src;        /* points to a source list block */
  16.     struct _iblk *d_incl;        /* pointer to include block chain */
  17.     struct _dlblk *d_next;        /* ptr to next list block */
  18.     } DLBLK;
  19. /*
  20.  * Dependency list head block
  21.  */
  22. typedef struct _dlisthb
  23.     {
  24.     DLBLK *d_head;            /* pointer to first list block */
  25.     DLBLK *d_tail;            /* pointer to last list block */
  26.     } DLIST;
  27. /*
  28.  * Functions defined for dependency list operations
  29.  */
  30. extern DLBLK *dlappend();        /* append to list */
  31. extern DLIST *dlinit();            /* initialize list */
  32. extern void dlprint();            /* print list */
  33.