home *** CD-ROM | disk | FTP | other *** search
- /* Help: (C) Copyright 1986 Michael A. Shiels
-
- This program is Copyright by Michael Shiels and may be given away and
- used in other programs as long as the Copyright notices are not removed
- or altered. No profit can be made from the distribution of this product
- except by the author.
- */
-
- typedef struct
- {
- char **lastdir ; /* Most recent addition to dirv */
- int maxdirs ; /* # of free slots in dirv */
- int nfiles ; /* # of used slots that are files */
- int ndirs ; /* # of used slots that are directories */
- unsigned width : 7 ; /* Width of widest element in dirv */
-
- unsigned files : 1 ; /* Include files in list */
- unsigned dirs : 1 ; /* Include directories in list */
- unsigned sort : 1 ; /* Sort added entries */
-
- char *dirv[1]; /* The first of the dirv entries */
- }
- HDIRECTORY;
-