From 63ff3eaf2bd2467255c08bf427a162f5c446b146 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 13 Jul 2020 01:41:52 +0200 Subject: Add transmission methods --- program.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program.h') diff --git a/program.h b/program.h index 4c93066..e910b78 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_empty_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