home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / windows / help / helpdir.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-03-10  |  858 b   |  24 lines

  1. /* Help: (C) Copyright 1986 Michael A. Shiels
  2.    
  3.    This program is Copyright by Michael Shiels and may be given away and
  4.    used in other programs as long as the Copyright notices are not removed
  5.    or altered.  No profit can be made from the distribution of this product
  6.    except by the author.
  7. */
  8.  
  9. typedef    struct 
  10. {
  11.     char     **lastdir ;    /* Most recent addition to dirv        */
  12.     int     maxdirs   ;    /* # of free slots in dirv        */
  13.     int     nfiles    ;    /* # of used slots that are files    */
  14.     int     ndirs       ;    /* # of used slots that are directories    */
  15.     unsigned width      : 7 ; /* Width of widest element in dirv    */
  16.  
  17.     unsigned files    : 1 ;    /* Include files in list        */
  18.     unsigned dirs     : 1 ; /* Include directories in list        */
  19.     unsigned sort      : 1 ; /* Sort added entries            */
  20.  
  21.     char     *dirv[1];    /* The first of the dirv entries    */
  22. }
  23. HDIRECTORY;
  24.