home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume24 / lb / config.h next >
C/C++ Source or Header  |  1991-06-05  |  730b  |  26 lines

  1. /*                            */
  2. /* Configuration parameters for the load balancer, 'lb' */
  3. /* Copyright (c) 1988, 1989 University of Rochester     */
  4. /* Department of Electrical Engineering.                */
  5. /*                            */
  6.  
  7. #define    CONFIGFILE    "/usr/share/lb.conf"
  8. #define    RSH        "/usr/ucb/rsh"
  9.  
  10. #define loadavg(sp,n)  (((float) (sp)->avenrun[n]) / 256.0)
  11. #define MAXLINE        255        /* largest line in config file*/
  12. #define MAXSHBUF    10240        /* max size of shell buffer   */
  13. #define MAXHOST        64        /* longest allowable hostname */
  14.  
  15. #if u3b || u3b5 || sun
  16. #define MAXFLOAT    ((float)3.40282346638528860e+38)
  17. #endif
  18.  
  19. #if pdp11 || vax
  20. #define MAXFLOAT    ((float)1.701411733192644299e+38)
  21. #endif
  22.  
  23. #ifndef MAXFLOAT
  24. #define MAXFLOAT    ((float)1.701411733192644299e+38)
  25. #endif
  26.