Prompt for Lua script or shell command in interactive session

This commit is contained in:
Vyacheslav Patkov 2024-06-01 17:31:22 +04:00 committed by Martin Lund
parent bb3636e2d5
commit f148a1413c
5 changed files with 28 additions and 5 deletions

View file

@ -29,5 +29,5 @@ typedef enum
SCRIPT_RUN_END,
} script_run_t;
void script_run(int fd);
void script_run(int fd, const char *script_filename);
const char *script_run_state_to_string(script_run_t state);