summaryrefslogtreecommitdiff
path: root/plugins/!Deprecated/New_GPG/src/include/boost/process/windows/pipe.hpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-04-28 21:28:00 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-04-28 21:28:00 +0000
commitf0ca17cf986fc21dd98037a4599e85437261d5de (patch)
treee189007919ca89c069d576133089a451803d5d8e /plugins/!Deprecated/New_GPG/src/include/boost/process/windows/pipe.hpp
parent23479c4e542e48ced40947777aa574e435153d34 (diff)
- New_GPG: temporary moved to deprecated until:
- 1. All mem_free related crashes that occur during messages exchange are fixed. - 2. All the tickets are fixed and closed. git-svn-id: http://svn.miranda-ng.org/main/trunk@4564 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!Deprecated/New_GPG/src/include/boost/process/windows/pipe.hpp')
-rw-r--r--plugins/!Deprecated/New_GPG/src/include/boost/process/windows/pipe.hpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/plugins/!Deprecated/New_GPG/src/include/boost/process/windows/pipe.hpp b/plugins/!Deprecated/New_GPG/src/include/boost/process/windows/pipe.hpp
new file mode 100644
index 0000000000..fd912afcc9
--- /dev/null
+++ b/plugins/!Deprecated/New_GPG/src/include/boost/process/windows/pipe.hpp
@@ -0,0 +1,32 @@
+// Copyright (c) 2006, 2007 Julio M. Merino Vidal
+// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
+// Copyright (c) 2009 Boris Schaeling
+// Copyright (c) 2010 Felipe Tanus, Boris Schaeling
+// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
+//
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_PROCESS_WINDOWS_PIPE_HPP
+#define BOOST_PROCESS_WINDOWS_PIPE_HPP
+
+#include <Windows.h>
+
+namespace boost { namespace process { namespace windows {
+
+struct pipe
+{
+ HANDLE source;
+ HANDLE sink;
+
+ pipe(HANDLE source, HANDLE sink) : source(source), sink(sink) {}
+};
+
+inline pipe make_pipe(HANDLE source, HANDLE sink)
+{
+ return pipe(source, sink);
+}
+
+}}}
+
+#endif