home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / program / code / stubshack / HeapGraph / !HeapDisp / h / Structs < prev    next >
Encoding:
Text File  |  1994-11-23  |  828 b   |  57 lines

  1. #ifndef __Structs_h
  2. #define __Structs_h
  3.  
  4. #ifndef __Shell_h
  5. #include "Shell.Shell.h"
  6. #endif
  7.  
  8.  
  9.  
  10. typedef struct    {
  11.     int    pos;
  12.     int    size;
  13.     int    ref;
  14.     }
  15.     block_info;
  16.  
  17.  
  18. typedef struct    {
  19.  
  20.     linklist_header    header;
  21.  
  22.     char    *filename;
  23.  
  24.     int    max_mem, min_mem;
  25.     int    words_per_os;
  26.     int    address_step;
  27.  
  28.     int    num_blocksalloced;    /* How many block_info's have been allocated    */
  29.     int    num_blocks;    /* How many block_info's are being used        */
  30.     block_info    *blocks;
  31.  
  32.     Shell_windblock    *wind;
  33.     Shell_rectblock    *textrect;
  34.     Shell_rectblock    *heaprect;
  35.     Shell_rectblock    *addressesrect;
  36.     Shell_rectblock    *maxrect;
  37.     Shell_rectblock    *minrect;
  38.     Shell_rectblock    *plainrect;
  39.  
  40.     Shell_rectblock    *numblocks, *total, *totalmem, *percentageused;
  41.  
  42.     struct    {
  43.         int    total;
  44.         }
  45.         stats;
  46.  
  47.     }
  48.     app_block;
  49.  
  50.  
  51. typedef struct    {
  52.     linklist_header    anchor;
  53.     }
  54.     apps_anchorblock;
  55.  
  56. #endif
  57.