From a7df43157443608716ad22badc18e5ba5f26e0f3 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 25 Aug 2007 22:42:49 +0000 Subject: Add pm_system_lp(), pm_system_vp() git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@383 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/pm_system.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'lib/pm_system.h') diff --git a/lib/pm_system.h b/lib/pm_system.h index 0605f888..a7560f48 100644 --- a/lib/pm_system.h +++ b/lib/pm_system.h @@ -9,6 +9,22 @@ extern "C" { #endif +void +pm_system_vp(const char * const progName, + const char ** const argArray, + void stdinFeeder(int, void *), + void * const feederParm, + void stdoutAccepter(int, void *), + void * const accepterParm); + +void +pm_system_lp(const char * const progName, + void stdinFeeder(int, void *), + void * const feederParm, + void stdoutAccepter(int, void *), + void * const accepterParm, + ...); + void pm_system(void stdinFeeder(int, void *), void * const feederParm, @@ -16,7 +32,6 @@ pm_system(void stdinFeeder(int, void *), void * const accepterParm, const char * const shellCommand); - struct bufferDesc { /* This is just a parameter for the routines below */ unsigned int size; -- cgit 1.4.1