home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.lbl.gov / 2014.05.ftp.ee.lbl.gov.tar / ftp.ee.lbl.gov / mrdebug.tar.Z / mrdebug.tar / types.h < prev    next >
C/C++ Source or Header  |  1993-10-25  |  639b  |  29 lines

  1. /*
  2. **
  3. **        This file contains all of the redefinitions of
  4. **        standard types.
  5. */
  6.  
  7. #include <unistd.h>
  8. #include <stdlib.h>
  9.  
  10. /*
  11. **        Define the constants used by the program.
  12. */
  13. #define     MAXLINE     1024      /* Maximum length of an input string */
  14. #define     MAXNAME     128       /* Maximum length of an IP  name  */
  15. #define     FALSE       0
  16. #define     TRUE        -1
  17. #define     INVALID_NODE    -1
  18. #define     INFINITE_DIST   5000
  19.  
  20. /*
  21. **      Define an IP name to be a character array
  22. */
  23. typedef char NAME[MAXNAME];
  24. /*
  25. **      Define an IP address to be an unsigned long (4 byte)
  26. */
  27. typedef unsigned long  ADDRESS;
  28.  
  29.