2022-10-19 21:44:28 -05:00
|
|
|
#ifndef INTEGRATED_H
|
|
|
|
#define INTEGRATED_H
|
|
|
|
|
2022-10-25 01:09:00 -05:00
|
|
|
#include "Common.h"
|
|
|
|
|
2022-10-27 03:47:19 -05:00
|
|
|
const char* GetHomeDir(void);
|
2022-10-29 01:10:12 -05:00
|
|
|
void CheckRedirection(CommandStruct* command);
|
2022-10-28 16:14:53 -05:00
|
|
|
int IntegratedCheck(CommandStruct* command);
|
2022-10-27 05:38:12 -05:00
|
|
|
void GetInput(char* inputString);
|
2022-10-27 23:11:40 -05:00
|
|
|
void append(char *input, char *file);
|
|
|
|
void input(char *command);
|
|
|
|
void ExecPipe();
|
|
|
|
void output(char *command);
|
2022-10-29 01:10:12 -05:00
|
|
|
void SplitInput(char* inputString, CommandStruct* command);
|
2022-10-28 23:01:31 -05:00
|
|
|
void ParseInput(char* inputString, CommandStruct* command, char *symbol);
|
2022-10-27 03:47:19 -05:00
|
|
|
void ReadPishrc(CommandStruct* command, char* inputString);
|
2022-10-29 01:10:12 -05:00
|
|
|
void ioRedirection(CommandStruct* command);
|
2022-10-28 23:01:31 -05:00
|
|
|
#endif
|