From abd20337e2a2ec1c4a34c1b839ee0ed575689527 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Wed, 29 Jul 2020 10:10:42 +0200 Subject: api: split api.h As the project grew, api.h got bloated. Signed-off-by: Simon Rozman --- api/namespace.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 api/namespace.h (limited to 'api/namespace.h') 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 + +_Check_return_ +HANDLE +TakeNameMutex(_In_z_ const WCHAR *Pool); + +void +ReleaseNameMutex(_In_ HANDLE Mutex); + +void +NamespaceInit(); + +void +NamespaceCleanup(); -- cgit v1.2.3-59-g8ed1b