home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / auucp+-1.02 / fuucp_plus_src.lzh / uucico / uucp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-11-21  |  1.4 KB  |  47 lines

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