From 87719884e259bcf11794cba30c8b8df5ef10a1cd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 3 Jul 2017 23:12:16 +0200 Subject: Add bff-premultiply and bff-unpremultiply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 common.h (limited to 'common.h') diff --git a/common.h b/common.h new file mode 100644 index 0000000..ff9732c --- /dev/null +++ b/common.h @@ -0,0 +1,22 @@ +/* See LICENSE file for copyright and license details. */ +#include +#include +#include +#include +#include +#include +#include +#include + +#include "arg.h" + +#define USAGE(SYNOPSIS)\ + static void usage(void)\ + { eprintf("usage: %s%s%s\n", argv0, *SYNOPSIS ? " " : "", SYNOPSIS); } + +void eprintf(const char *fmt, ...); + +void bff_begin(void); +void bff_end(void); +pid_t bff_run(const char **args, int in, int out); +void bff_wait(pid_t pid, const char *cmd); -- cgit v1.2.3-70-g09d2