home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume10 / pcmail2 / part01 / main / work.h < prev   
C/C++ Source or Header  |  1990-01-24  |  1KB  |  43 lines

  1. /*++
  2. /* NAME
  3. /*      scanwork,rmtwork 5
  4. /* SUMMARY
  5. /*      spool directory access for cico
  6. /* PROJECT
  7. /*      pc-mail
  8. /* PACKAGE
  9. /*      cico
  10. /* SYNOPSIS
  11. /*    #include <stdio.h>
  12. /*      #include "work.h"
  13. /* DESCRIPTION
  14. /* .nf
  15.  
  16.  /* globally visible elements of scanwork.c */
  17.  
  18. typedef struct {
  19.     char    type;            /* Data, eXecute */
  20.     char    path[BUFSIZ];        /* full path name (unsent file) */
  21.     char    sent[BUFSIZ];        /* full path name when sent */
  22.     unsigned seqno;            /* sequence number */
  23.     char    rqst[BUFSIZ];        /* uucp request message */
  24.     FILE   *fp;                /* associated file pointer */
  25. } work;
  26.  
  27. extern work *scanwork();        /* searches work files */
  28. extern work *rmtwork();            /* assigns spool files */
  29. extern void getwork();            /* receives remote work */
  30.  
  31. /* AUTHOR(S)
  32. /*      W.Z. Venema
  33. /*      Eindhoven University of Technology
  34. /*      Department of Mathematics and Computer Science
  35. /*      Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
  36. /* CREATION DATE
  37. /*    Sun Apr 12 14:30:28 GMT+1:00 1987
  38. /* LAST MODIFICATION
  39. /*    90/01/22 13:02:58
  40. /* VERSION/RELEASE
  41. /*    2.1
  42. /*--*/
  43.