pish/include/Integrated.h

19 lines
694 B
C
Executable File

#ifndef INTEGRATED_H
#define INTEGRATED_H
#include "Common.h"
void CheckRedirection(CommandStruct* command);
int CheckSymbol(CommandStruct* command, char symbol, int start);
int IntegratedCheck(CommandStruct* command);
void GetInput(char* inputString);
void append(char *input, char *file);
void input(char *command);
int ExecPipe(CommandStruct* commandParent, CommandStruct* commandChild, int* pipefd);
void output(char *command);
void SplitInput(char* inputString, CommandStruct* command);
void ParseInput(char* inputString, CommandStruct* command, char* symbol);
void RunChild(CommandStruct* commandChild, int* pipefd);
void ioRedirection(CommandStruct* command);
#endif