| 1 | /*++ |
| 2 | |
| 3 | Copyright (c) Microsoft. All rights reserved. |
| 4 | |
| 5 | Module Name: |
| 6 | |
| 7 | interop.hpp |
| 8 | |
| 9 | Abstract: |
| 10 | |
| 11 | This file contains interop function declarations. |
| 12 | |
| 13 | --*/ |
| 14 | |
| 15 | #pragma once |
| 16 | |
| 17 | #include <winsock2.h> |
| 18 | |
| 19 | namespace wsl::windows::common::interop { |
| 20 | |
| 21 | void WorkerThread(_In_ wil::unique_handle&& ServerPortHandle); |
| 22 | |
| 23 | DWORD VmModeWorkerThread(_In_ wsl::shared::SocketChannel& channel, _In_ const GUID& VmId, _In_ bool IgnoreExit = false); |
| 24 | |
| 25 | } // namespace wsl::windows::common::interop |