home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / duucp-1.17 / AU-117b4-src.lha / src / uucico / uucp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-24  |  1.2 KB  |  39 lines

  1. /*
  2.  *  UUCP.H
  3.  *
  4.  *  Header file for uucp.
  5.  *
  6.  *  Pieces that look like they might be taken from Unix uucp are
  7.  *  cribbed with the aid of public domain uucp modules (like the F-protocol)
  8.  *  that use that interface.
  9.  *
  10.  *  Ported to Amiga by William Loftus
  11.  *  Changes Copyright 1988 by William Loftus.  All rights reserved.
  12.  */
  13.  
  14. /* I may have these flipped from what Unix uses... */
  15. /* BUT: my code depends on these values in if (foo()) statements, sigh */
  16. #define SUCCESS     0
  17. #define FAIL        1
  18. #define REFUSED     2
  19.  
  20. #define MAXMSGLEN    ((NAMESIZE*4)+SLOP)    /* ?>?? FIXME */
  21. #define MAXMSGTIME    60    /* Timeout period for rdmsg */
  22. #define MAX_HOST    20    /* Host name length (uucp does 7) */
  23. #define MAX_LSYS    500    /* Max length of an L.sys line in chars */
  24. #define MAX_CTLLINE    100    /* Max length of a usenet.ctl line */
  25.  
  26. #define CTL_DELIM    " \t\n\r"       /* Delimiters for usenet.ctl */
  27.  
  28. /*
  29.  * Timeout for raw characters -- if we don't hear a char within BYTE_TO
  30.  * seconds, we assume the other side has gone away.  Has nothing to do with
  31.  * retransmission timeouts (if any!).
  32.  */
  33.  
  34. #define BYTE_TO     60
  35. #define SENDEXPECT_TO    15
  36. #define QUICK_TO    2
  37.  
  38. #define SLOP        10        /* Slop space on arrays */
  39.