home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / STRAT.H < prev    next >
C/C++ Source or Header  |  1997-07-05  |  611b  |  30 lines

  1. /* +++Date last modified: 05-Jul-1997 */
  2.  
  3. /*
  4. **  strat.h 10-5-91  Robert Mashlan, public domain
  5. **
  6. **  header file for strat.c
  7. **
  8. */
  9.  
  10. #ifndef STRAT__H
  11. #define STRAT__H
  12.  
  13. const enum {
  14.       FIRST_FIT_LOW,
  15.       BEST_FIT_LOW,
  16.       LAST_FIT_LOW,
  17.       FIRST_FIT_HIGH = 0x80, /* these strategies available only in DOS 5.0 */
  18.       BEST_FIT_HIGH,
  19.       LAST_FIT_HIGH,
  20.       FIRST_FIT_HIGHONLY = 0x40,
  21.       BEST_FIT_HIGHONLY,
  22.       LAST_FIT_HIGHONLY
  23.       };
  24.  
  25. int get_alloc_strat(void);
  26. int set_alloc_strat( int strat );
  27. int set_handle_count( unsigned nhandles );
  28.  
  29. #endif /* STRAT__H */
  30.