home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume11 / musbus / part03 / makework.h < prev    next >
Encoding:
C/C++ Source or Header  |  1987-09-16  |  787 b   |  26 lines

  1. #include <stdio.h>
  2. #include <signal.h>
  3. /* $Header: makework.h,v 1.4 87/06/24 08:33:56 kjmcdonell Beta $ */
  4.  
  5. #define MAXSTREAM    12
  6.  
  7. typedef struct st_stream {
  8.     char    *home;        /* home dir for job stream */
  9.     char    *cmd;        /* name of command to run */
  10.     char    **av;        /* arguments to command */
  11.     char    *buf;        /* standard input buffer */
  12.     int    blen;        /* size of standard input buffer */
  13.     int    xmit;        /* # characters sent */
  14.     char    *bp;        /* std input buffer pointer */
  15.     char    *tty;        /* standard output (filename) */
  16.     int    fd;        /* stdin to command */
  17.     int    pid;        /* PID of stream command */
  18.     char    *line;        /* start of input line */ 
  19. } stream;
  20.  
  21. extern stream work[];
  22.  
  23. extern int    nstream;    /* number of concurrent streams to be
  24.                  * simulated by this process */
  25. extern int    exit_status;    /* returned to parent */
  26.