pish/include/Integrated.h

19 lines
691 B
C
Raw Normal View History

#ifndef INTEGRATED_H
#define INTEGRATED_H
#include "Common.h"
void CheckRedirection(CommandStruct* command);
int CheckSymbol(CommandStruct* command, char symbol, int start);
int CountSymbol(CommandStruct* command, char symbol);
int IntegratedCheck(CommandStruct* command);
void GetInput(char* inputString);
2022-10-27 23:11:40 -05:00
void append(char *input, char *file);
void input(char *command);
int ExecPipe(CommandStruct* commandParent, CommandStruct* commandChild, int* pipefd);
2022-10-27 23:11:40 -05:00
void output(char *command);
void SplitInput(char* inputString, CommandStruct* command);
void ParseInput(char* inputString, CommandStruct* command, char* symbol);
void ioRedirection(CommandStruct* command);
2022-10-28 23:01:31 -05:00
#endif