aboutsummaryrefslogtreecommitdiffstats
path: root/api/namespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/namespace.h')
-rw-r--r--api/namespace.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/api/namespace.h b/api/namespace.h
new file mode 100644
index 0000000..b5e77a9
--- /dev/null
+++ b/api/namespace.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
+ */
+
+#pragma once
+
+#include <Windows.h>
+
+_Check_return_
+HANDLE
+TakeNameMutex(_In_z_ const WCHAR *Pool);
+
+void
+ReleaseNameMutex(_In_ HANDLE Mutex);
+
+void
+NamespaceInit();
+
+void
+NamespaceCleanup();