123456789101112131415161718192021222324252627282930 |
- #include "esh_types.h"
- #ifndef ESH_MAIN_LOOP_H
- #define ESH_MAIN_LOOP_H
- void EShRunLoop();
- void EShShowMsg();
- EShJob* EShParseCommandIntoJobs(char* command, int* jobs_num);
- void EShSplitJobCommand(EShJob* job, char delim); // splits command into tokens (command arguments)
- void EShExecuteJobs(int jobs_num, EShJob* jobs_list);
- void EShSetJobCommandType(EShJob* job);
- int EShRunJob(EShJob* job); // returns exit code of job
- int EShIsInnerJob(EShJob* job);
- int EShProcessInnerJob(EShJob* job);
- int EShProcessExecJob(EShJob* job);
- void EShSubstituteShellValuesArgument(char** arg);
- void EShPrintJobsDebugInfo(const char* command, EShJob* jobs, int jobs_num);
- #endif // ESH_MAIN_LOOP_H
|