home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume3 / pcmail / part07 / comm.c < prev    next >
C/C++ Source or Header  |  1989-02-03  |  1KB  |  44 lines

  1. /*++
  2. /* NAME
  3. /*    comm 3
  4. /* SUMMARY
  5. /*    cico communications parameters retrieval
  6. /* PROJECT
  7. /*    pc-mail
  8. /* PACKAGE
  9. /*    cico
  10. /* SYNOPSIS
  11. /*    #include "params.h"
  12. /*    #include "comm.h"
  13. /* DESCRIPTION
  14. /*    Implementation module for communications parameters and other
  15. /*    global stuff that has not yet found its place.
  16. /* AUTHOR(S)
  17. /*    W.Z. Venema
  18. /*    Eindhoven University of Technology
  19. /*    Department of Mathematics and Computer Science
  20. /*    Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
  21. /* CREATION DATE
  22. /*    Sun Apr 12 13:37:12 GMT+1:00 1987
  23. /* LAST MODIFICATION
  24. /*    Mon Apr  4 23:36:16 MET 1988
  25. /* VERSION/RELEASE
  26. /*    1.3
  27. /*--*/
  28.  
  29. #include "defs.h"
  30. #include "params.h"
  31. #include "comm.h"
  32.  
  33. public int ttfd = -1;                /* comm. port */
  34. public Info *comm = 0;                /* comm. info */
  35. public char *password = 0;            /* uucp password */
  36. public char rmthost[BUFSIZ] = "Unknown";    /* remote host name */
  37.  
  38. public int (*Read)()  = 0;            /* protocol read function */
  39. public int (*Write)() = 0;            /* protocol write function */
  40. public int (*Close)() = 0;            /* protocol close function */
  41.  
  42. public char msgin[MSGBUF];            /* message receive buffer */
  43. public char msgout[MSGBUF];                  /* message send buffer */
  44.