home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / UNIX3862.ZIP / U386-06.ZIP / U386-6.TD0 / usr / include / sys / rdebug.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-06-26  |  2.2 KB  |  56 lines

  1. /*    Copyright (c) 1984, 1986, 1987, 1988 AT&T    */
  2. /*      All Rights Reserved      */
  3.  
  4. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  5. /*    The copyright notice above does not evidence any       */
  6. /*    actual or intended publication of such source code.    */
  7.  
  8.  
  9. #ident    "@(#)head.sys:rdebug.h    1.3"
  10.  
  11. /* Debugging flags turned on and off by rdebug */
  12.  
  13. #define DB_SYSCALL    0x001    /* remote system calls */
  14. #define DB_SD_RD    0x002    /* send and receive descriptors */
  15. #define DB_SERVE    0x004    /* servers and server-control */
  16. #define DB_MNT_ADV    0x008    /* advertising and remote mounts */
  17. #define DB_RFSTART    0x010    /* rfstart, rfstop */
  18. #define DB_RECOVER    0x020    /* recovery */
  19. #define DB_RDUSER    0x040    /* rd_user structures */
  20. #define DB_RDWRI    0x080    /* remote readi/writei */
  21. #define DB_PROT        0x100    /* protocol */
  22. #define DB_COMM        0x200    /* communication interface */
  23. #define DB_GDP        0x400    /* GDP */
  24. #define DB_PACK        0x800    /* PACK stream interface */
  25. #define DB_RMOVE    0x1000    /* rmove */
  26. #define DB_RSC        0x2000    /* RSC ACK and NACK */
  27. #define DB_RFSYS    0x4000    /* miscellaneous sys call */
  28. #define DB_SIGNAL       0x8000  /* signal */
  29. #define DB_GDPERR       0x10000  /* GDP temporary error */
  30. #define NO_RETRANS      0x20000  /* turn off retransmission */
  31. #define NO_RECOVER      0x40000  /* turn off recovery */
  32. #define NO_MONITOR      0x80000  /* turn off monitor */
  33. #define DB_CANON         0x100000  /* canonical form conversion */
  34. #define    DB_FSS        0x200000  /* dufst debugging */
  35. #define DB_CACHE    0x400000  /* client cache debugging */
  36. #define DB_LOOPBCK    0x800000  /* allow machine to mount own resources */
  37.  
  38.  
  39. extern    long    dudebug;
  40.  
  41. #if DUDEBUG == YES
  42. #define    DUPRINT1(x,y1) if (dudebug & x) printf(y1);
  43. #define    DUPRINT2(x,y1,y2) if (dudebug & x) printf(y1,y2);
  44. #define    DUPRINT3(x,y1,y2,y3) if (dudebug & x) printf(y1,y2,y3);
  45. #define    DUPRINT4(x,y1,y2,y3,y4) if (dudebug & x) printf(y1,y2,y3,y4);
  46. #define    DUPRINT5(x,y1,y2,y3,y4,y5) if (dudebug & x) printf(y1,y2,y3,y4,y5);
  47. #define DUPRINT6(x,y1,y2,y3,y4,y5,y6) if (dudebug & x) printf(y1,y2,y3,y4,y5,y6);
  48. #else
  49. #define    DUPRINT1(x,y1)
  50. #define    DUPRINT2(x,y1,y2)
  51. #define    DUPRINT3(x,y1,y2,y3)
  52. #define    DUPRINT4(x,y1,y2,y3,y4)
  53. #define    DUPRINT5(x,y1,y2,y3,y4,y5)
  54. #define    DUPRINT6(x,y1,y2,y3,y4,y5,y6)
  55. #endif
  56.