diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-14 06:55:18 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-14 06:55:18 +0200 |
commit | 94c45e3c4d185b3f0d70f0d2d761b72c6561e1b5 (patch) | |
tree | 7c3c06987f82f726422bda9e5de86172f60c3065 /src/program.h | |
parent | a15d7ad07a5865f2f51e85d5e4e049922c50deec (diff) |
Implement add_html
Diffstat (limited to 'src/program.h')
-rw-r--r-- | src/program.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/program.h b/src/program.h index 265dfa5..8bf721c 100644 --- a/src/program.h +++ b/src/program.h @@ -8,8 +8,11 @@ int program_buffer_write_callback(char *data, int size, void *userdata); /* @args need to have at least 2 arguments. The first which is the program name - and the last which is NULL, which indicates end of args + and the last which is NULL, which indicates end of args. */ int program_exec(const char **args, ProgramOutputCallback output_callback, void *userdata); +int program_exec_async(const char **args, int *process_id, int *stdin_file, int *stdout_file); +/* If stdin_file is -1 or stdout_file is -1 then they are not used */ +int program_wait_until_exit(int process_id, int stdin_file, int stdout_file, ProgramOutputCallback output_callback, void *userdata); #endif |