| 1 | #ifndef PIPE_H |
| 2 | #define PIPE_H PIPE_H |
| 3 | |
| 4 | /* no headers needed */ |
| 5 | |
| 6 | /* forks the pipe-program fills the 2 filed |
| 7 | returns 0 for success, 1 for error */ |
| 8 | int getPipe(int *dataIn, int *dataOut); |
| 9 | |
| 10 | /* closes fds */ |
| 11 | void closePipe(void); |
| 12 | |
| 13 | #endif |
| 14 | |