aboutsummaryrefslogtreecommitdiffstats
path: root/api/namespace.h
blob: 0f2598a736a6c5a68f379a569c2bb3592ee2d04e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: GPL-2.0
 *
 * Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
 */

#pragma once

#include <Windows.h>

_Check_return_
HANDLE
NamespaceTakePoolMutex(_In_z_ const WCHAR *Pool);

_Check_return_
HANDLE
NamespaceTakeDriverInstallationMutex(void);

void
NamespaceReleaseMutex(_In_ HANDLE Mutex);

void
NamespaceInit(void);

void
NamespaceCleanup(void);