home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / communic / pcmail / main / work.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-05  |  1.2 KB  |  85 lines

  1. /*++
  2.  
  3. /* NAME
  4.  
  5. /*      scanwork,rmtwork 5
  6.  
  7. /* SUMMARY
  8.  
  9. /*      spool directory access for cico
  10.  
  11. /* PROJECT
  12.  
  13. /*      pc-mail
  14.  
  15. /* PACKAGE
  16.  
  17. /*      cico
  18.  
  19. /* SYNOPSIS
  20.  
  21. /*    #include <stdio.h>
  22.  
  23. /*      #include "work.h"
  24.  
  25. /* DESCRIPTION
  26.  
  27. /* .nf
  28.  
  29.  
  30.  
  31.  /* globally visible elements of scanwork.c */
  32.  
  33.  
  34.  
  35. typedef struct {
  36.  
  37.     char    type;            /* Data, eXecute */
  38.  
  39.     char    path[BUFSIZ];        /* full path name (unsent file) */
  40.  
  41.     char    sent[BUFSIZ];        /* full path name when sent */
  42.  
  43.     unsigned seqno;            /* sequence number */
  44.  
  45.     char    rqst[BUFSIZ];        /* uucp request message */
  46.  
  47.     FILE   *fp;                /* associated file pointer */
  48.  
  49. } work;
  50.  
  51.  
  52.  
  53. extern work *scanwork();        /* searches work files */
  54.  
  55. extern work *rmtwork();            /* assigns spool files */
  56.  
  57. extern void getwork();            /* receives remote work */
  58.  
  59.  
  60.  
  61. /* AUTHOR(S)
  62.  
  63. /*      W.Z. Venema
  64.  
  65. /*      Eindhoven University of Technology
  66.  
  67. /*      Department of Mathematics and Computer Science
  68.  
  69. /*      Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
  70.  
  71. /* CREATION DATE
  72.  
  73. /*    Sun Apr 12 14:30:28 GMT+1:00 1987
  74.  
  75. /* LAST MODIFICATION
  76.  
  77. /*    90/01/22 13:02:58
  78.  
  79. /* VERSION/RELEASE
  80.  
  81. /*    2.1
  82.  
  83. /*--*/
  84.  
  85.