CS3413/Assignment4/lib/process.h

18 lines
325 B
C

#ifndef NODE_H
#define NODE_H
typedef struct Process {
struct process *prev_elem;
struct process *next_elem;
char *username;
char job;
int arrival_time;
int duration;
} Process;
Process *createProcess(char *username, char job, int arrival_time, int duration);
void destroyProcess(Process *node);
#endif //NODE_H