aboutsummaryrefslogtreecommitdiff
path: root/program.h
diff options
context:
space:
mode:
Diffstat (limited to 'program.h')
-rw-r--r--program.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/program.h b/program.h
deleted file mode 100644
index 265dfa5..0000000
--- a/program.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef PROGRAM_H
-#define PROGRAM_H
-
-/* 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
-*/
-int program_exec(const char **args, ProgramOutputCallback output_callback, void *userdata);
-
-#endif