diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-10 03:56:41 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-10 03:56:41 +0300 |
commit | 36a60a8021dc0fa84ce13677f69e5a3f1428fe5b (patch) | |
tree | 4b90b38a42d2dc3c1c8ebf8f7f350fd3a8dd8404 /gpg_wrapper.h | |
parent | 329ad737e54ed5972a727105301877750011d9b3 (diff) |
modified: commonheaders.h
new file: gpg_wrapper.cpp
new file: gpg_wrapper.h
modified: init.cpp
modified: main.cpp
new file: messages.cpp
modified: new_gpg.vcproj
modified: utilities.cpp
modified: utilities.h
Diffstat (limited to 'gpg_wrapper.h')
-rw-r--r-- | gpg_wrapper.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gpg_wrapper.h b/gpg_wrapper.h new file mode 100644 index 0000000..1139c51 --- /dev/null +++ b/gpg_wrapper.h @@ -0,0 +1,18 @@ +#ifndef GPG_WRAPPER_H
+#define GPG_WRAPPER_H
+typedef enum {
+ pxSuccess,
+ pxSuccessExitCodeInvalid,
+ pxCreatePipeFailed,
+ pxDuplicateHandleFailed,
+ pxCloseHandleFailed,
+ pxCreateProcessFailed,
+ pxThreadWaitFailed,
+ pxReadFileFailed,
+ pxBufferOverflow
+}
+pxResult;
+
+pxResult pxExecute(TCHAR *acommandline, char *ainput, string *aoutput, LPDWORD aexitcode);
+
+#endif
\ No newline at end of file |