summaryrefslogtreecommitdiff
path: root/GnuPG/pipeexec.h
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-22 18:30:08 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-22 18:30:08 +0000
commit4101ee8ff9bc818f40dc0173b1434761f187597f (patch)
tree15ace4a23c2d13b1c4b506a54887b1ec196ee007 /GnuPG/pipeexec.h
parentda1c34bde32e040a0a431ffb809c3b1e425dc558 (diff)
added GnuPG
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@197 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'GnuPG/pipeexec.h')
-rw-r--r--GnuPG/pipeexec.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/GnuPG/pipeexec.h b/GnuPG/pipeexec.h
new file mode 100644
index 0000000..9d81fda
--- /dev/null
+++ b/GnuPG/pipeexec.h
@@ -0,0 +1,23 @@
+#ifndef __PIPEEXEC_H__
+#define __PIPEEXEC_H__
+
+#include <windows.h>
+
+typedef enum {
+ pxSuccess,
+ pxSuccessExitCodeInvalid,
+ pxCreatePipeFailed,
+ pxDuplicateHandleFailed,
+ pxCloseHandleFailed,
+ pxCreateProcessFailed,
+ pxThreadWaitFailed,
+ pxReadFileFailed,
+ pxBufferOverflow
+}
+pxResult;
+
+pxResult pxExecute(char *acommandline, char *ainput, char **aoutput, LPDWORD aexitcode);
+
+#endif // __PIPEEXEC_H__
+
+ \ No newline at end of file