diff options
Diffstat (limited to 'include/Program.hpp')
-rw-r--r-- | include/Program.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Program.hpp b/include/Program.hpp index e60a6ae..674c834 100644 --- a/include/Program.hpp +++ b/include/Program.hpp @@ -9,6 +9,8 @@ struct ReadProgram { int read_fd = -1; }; +int accumulate_string(char *data, int size, void *userdata); + /* Return 0 if you want to continue reading. @data is null-terminated */ typedef int (*ProgramOutputCallback)(char *data, int size, void *userdata); |