esh_main_loop.h 710 B

123456789101112131415161718192021222324252627282930
  1. #include "esh_types.h"
  2. #ifndef ESH_MAIN_LOOP_H
  3. #define ESH_MAIN_LOOP_H
  4. void EShRunLoop();
  5. void EShShowMsg();
  6. EShJob* EShParseCommandIntoJobs(char* command, int* jobs_num);
  7. void EShSplitJobCommand(EShJob* job, char delim); // splits command into tokens (command arguments)
  8. void EShExecuteJobs(int jobs_num, EShJob* jobs_list);
  9. void EShSetJobCommandType(EShJob* job);
  10. void EShRunJob(EShJob* job);
  11. int EmptyCommand(const char* command);
  12. int InnerCommand(const char* command);
  13. void EShProcessInnerJob(const char* command);
  14. void EShProcessExecJob(const char* command);
  15. void EShPrintJobsDebugInfo(const char* command, EShJob* jobs, int jobs_num);
  16. #endif // ESH_MAIN_LOOP_H