home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / EXTRAS / UUCODE / UUPC / TEST / UPC12ES4.ZIP / UUTRAF / defs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-12  |  2.5 KB  |  83 lines

  1. /*
  2.  *    defs.h - configuration for uutraf
  3.  */
  4.  
  5. #define SID_H    "@(#)uutraf:defs.h-dist    1.2.2.5    92/10/23 10:27:14 (woods)"
  6. #define SID_NM    defs_sccsid
  7. #include <sccsid.h>
  8.  
  9. /*
  10.  * This file contains user defined parameters
  11.  */
  12.  
  13. #define HAVE_HDBUUCP    1    /* HoneyDanBer-UUCP xferstats? */
  14.  
  15. #ifdef HAVE_HDBUUCP
  16. # if defined(sun4) || defined(SYSVR4)
  17. #  define STATFILE    "/var/uucp/.Admin/xferstats"
  18. # else
  19. #  if defined(_AIX) && defined(_IBMR2)    /* really should be AIX 3.2.x */
  20. #   define STATFILE    "/var/spool/uucp/.Admin/xferstats"
  21. #  else
  22. #   define STATFILE    "/usr/spool/uucp/.Admin/xferstats"
  23. #  endif
  24. # endif
  25. #else
  26. # if defined(ultrix) || defined(__ultrix__) || defined(BSD4_3)
  27. #  define STATFILE    "/var/spool/uucp/SYSLOG"    /* all the same? */
  28. # else
  29. #  define STATFILE    "/usr/spool/uucp/SYSLOG"    /* all the same? */
  30. # endif
  31. #endif
  32.  
  33. #if defined(_AIX) && !defined(_IBMR2)    /* really should be AIX 3.1.x ??? */
  34. # define NAME_MAX    PATH_MAX    /* they say you should use pathconf() */
  35. #endif
  36.  
  37. /*
  38.  * default report to print (you might want to add in SYSBYPORT_OPT (with
  39.  * SYS_RPT))
  40.  */
  41. #define DEFAULT_RPT    (HEADERS | SYS_RPT | PORT_RPT | SUMM_RPT)
  42.  
  43. /*
  44.  * default way to sort (both node and port sections)
  45.  */
  46. #define DEFAULT_SORT    (RECEIVED | XMIT)    /* Total number of bytes */
  47.  
  48. /* you can instead pick from one of these for the default sorting method.
  49.  *
  50.  * Sort by number of bytes
  51.  *    #define DEFAULT_SORT (RECEIVED)
  52.  *    #define DEFAULT_SORT (XMIT)
  53.  *    #define DEFAULT_SORT (RECEIVED | XMIT)
  54.  *    #define DEFAULT_SORT (RECEIVED | REVERSE)
  55.  *    #define DEFAULT_SORT (XMIT | REVERSE)
  56.  *    #define DEFAULT_SORT (RECEIVED | XMIT | REVERSE)
  57.  *
  58.  * Sort by transfer rate
  59.  *    #define DEFAULT_SORT (R_CPS)
  60.  *    #define DEFAULT_SORT (X_CPS)
  61.  *    #define DEFAULT_SORT (R_CPS | X_CPS)
  62.  *    #define DEFAULT_SORT (R_CPS | REVERSE)
  63.  *    #define DEFAULT_SORT (X_CPS | REVERSE)
  64.  *    #define DEFAULT_SORT (R_CPS | X_CPS | REVERSE)
  65.  *
  66.  * Sort by number of file transactions
  67.  *    #define DEFAULT_SORT (R_NUMB)
  68.  *    #define DEFAULT_SORT (X_NUMB)
  69.  *    #define DEFAULT_SORT (R_NUMB | X_NUMB)
  70.  *    #define DEFAULT_SORT (R_NUMB | REVERSE)
  71.  *    #define DEFAULT_SORT (X_NUMB | REVERSE)
  72.  *    #define DEFAULT_SORT (R_NUMB | X_NUMB | REVERSE)
  73.  *
  74.  * Sort by modem clock time
  75.  *    #define DEFAULT_SORT (R_TIME)
  76.  *    #define DEFAULT_SORT (X_TIME)
  77.  *    #define DEFAULT_SORT (X_TIME | R_TIME)
  78.  *    #define DEFAULT_SORT (R_TIME | REVERSE)
  79.  *    #define DEFAULT_SORT (X_TIME | REVERSE)
  80.  *    #define DEFAULT_SORT (X_TIME | R_TIME | REVERSE)
  81.  */
  82.  
  83.