aboutsummaryrefslogtreecommitdiff
path: root/program.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-13 01:41:52 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-13 01:41:52 +0200
commit63ff3eaf2bd2467255c08bf427a162f5c446b146 (patch)
treeef611855f95e26dd715e7f10bf8f83428a2c14e1 /program.h
parente4bae38e3a5d345c025ed9edddbf401c81756dd5 (diff)
Add transmission methods
Diffstat (limited to 'program.h')
-rw-r--r--program.h2
1 files changed, 2 insertions, 0 deletions
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