diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-08-25 22:42:49 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-08-25 22:42:49 +0000 |
commit | a7df43157443608716ad22badc18e5ba5f26e0f3 (patch) | |
tree | a0f53c4aecc1555c16a4a8376362a25636395069 /lib/pm_system.h | |
parent | c16ec0e052580f85d9241f48580ce6e7183abca9 (diff) | |
download | netpbm-mirror-a7df43157443608716ad22badc18e5ba5f26e0f3.tar.gz netpbm-mirror-a7df43157443608716ad22badc18e5ba5f26e0f3.tar.xz netpbm-mirror-a7df43157443608716ad22badc18e5ba5f26e0f3.zip |
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
Diffstat (limited to 'lib/pm_system.h')
-rw-r--r-- | lib/pm_system.h | 17 |
1 files changed, 16 insertions, 1 deletions
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 @@ -10,13 +10,28 @@ extern "C" { 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, void stdoutAccepter(int, void *), void * const accepterParm, const char * const shellCommand); - struct bufferDesc { /* This is just a parameter for the routines below */ unsigned int size; |