/*
* cs537 Project 1 - Shell
*
* Written by Stefan Strandberg ([email protected])
* $Id: job.h,v 1.3 2004/09/23 20:01:59 stefan Exp $
*
*/
#ifndef _H_JOB_H_
#define _H_JOB_H_
typedef struct job {
int jid;
int pid;
char *command;
int argc;
int background;
char *args[];
} job_t;
job_t *create_job(int jid, int pid, char* command, int argc, char* args[],
int background, job_t *job);
void remove_job(job_t *job);
void print_job(job_t *job);
#define MAX_JOBS 32766
#endif
Comments