From a1ca82847eb356c6b85ada2ac11f38d98f6e085e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 13 Jul 2020 15:57:10 +0200 Subject: Start on add_rss, add rss parser --- program.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program.h') diff --git a/program.h b/program.h index 4c93066..265dfa5 100644 --- a/program.h +++ b/program.h @@ -4,6 +4,8 @@ /* Return 0 if you want to continue reading. @data is null-terminated */ typedef int (*ProgramOutputCallback)(char *data, int size, void *userdata); +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 -- cgit v1.2.3