diff options
author | bugaevskiy <bugaevskiy@yandex-team.com> | 2022-07-20 13:17:38 +0300 |
---|---|---|
committer | bugaevskiy <bugaevskiy@yandex-team.com> | 2022-07-20 13:17:38 +0300 |
commit | 39d6f573778ab032b7d20202e32b955322a4bc3b (patch) | |
tree | 2468c0056bdc36fd3c74607f697209091245a2f1 | |
parent | c01bac066fdbee7941b95494b673f303240cf83a (diff) | |
download | ydb-39d6f573778ab032b7d20202e32b955322a4bc3b.tar.gz |
Reimport boost/winapi as a separate project
120 files changed, 35 insertions, 4346 deletions
diff --git a/CMakeLists.darwin.txt b/CMakeLists.darwin.txt index 4fa38a1287..bc542c8a0c 100644 --- a/CMakeLists.darwin.txt +++ b/CMakeLists.darwin.txt @@ -137,6 +137,7 @@ add_subdirectory(contrib/restricted/boost/config) add_subdirectory(contrib/restricted/boost/io) add_subdirectory(contrib/restricted/boost/predef) add_subdirectory(contrib/restricted/boost/preprocessor) +add_subdirectory(contrib/restricted/boost/winapi) add_subdirectory(contrib/restricted/fast_float) add_subdirectory(contrib/restricted/thrift) add_subdirectory(contrib/libs/libevent) diff --git a/CMakeLists.linux.txt b/CMakeLists.linux.txt index b3885e6c8f..d4c262bda6 100644 --- a/CMakeLists.linux.txt +++ b/CMakeLists.linux.txt @@ -215,6 +215,7 @@ add_subdirectory(contrib/restricted/boost/config) add_subdirectory(contrib/restricted/boost/io) add_subdirectory(contrib/restricted/boost/predef) add_subdirectory(contrib/restricted/boost/preprocessor) +add_subdirectory(contrib/restricted/boost/winapi) add_subdirectory(contrib/restricted/fast_float) add_subdirectory(contrib/restricted/thrift) add_subdirectory(contrib/libs/libevent) diff --git a/contrib/restricted/boost/CMakeLists.txt b/contrib/restricted/boost/CMakeLists.txt index fdf90de142..f8c50cfc4e 100644 --- a/contrib/restricted/boost/CMakeLists.txt +++ b/contrib/restricted/boost/CMakeLists.txt @@ -17,4 +17,5 @@ target_link_libraries(contrib-restricted-boost INTERFACE restricted-boost-io restricted-boost-predef restricted-boost-preprocessor + restricted-boost-winapi ) diff --git a/contrib/restricted/boost/boost/detail/winapi/access_rights.hpp b/contrib/restricted/boost/boost/detail/winapi/access_rights.hpp deleted file mode 100644 index e6fcd560be..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/access_rights.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/access_rights.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_ACCESS_RIGHTS_HPP -#define BOOST_DETAIL_WINAPI_ACCESS_RIGHTS_HPP - -#include <boost/winapi/access_rights.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_ACCESS_RIGHTS_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/apc.hpp b/contrib/restricted/boost/boost/detail/winapi/apc.hpp deleted file mode 100644 index 875aae59a3..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/apc.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/apc.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_APC_HPP -#define BOOST_DETAIL_WINAPI_APC_HPP - -#include <boost/winapi/apc.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_APC_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/basic_types.hpp b/contrib/restricted/boost/boost/detail/winapi/basic_types.hpp deleted file mode 100644 index 3b2b5054c5..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/basic_types.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/basic_types.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_BASIC_TYPES_HPP -#define BOOST_DETAIL_WINAPI_BASIC_TYPES_HPP - -#include <boost/winapi/basic_types.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_BASIC_TYPES_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/bcrypt.hpp b/contrib/restricted/boost/boost/detail/winapi/bcrypt.hpp deleted file mode 100644 index ea0c20e68c..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/bcrypt.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/bcrypt.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_BCRYPT_HPP_ -#define BOOST_DETAIL_WINAPI_BCRYPT_HPP_ - -#include <boost/winapi/bcrypt.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_BCRYPT_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/character_code_conversion.hpp b/contrib/restricted/boost/boost/detail/winapi/character_code_conversion.hpp deleted file mode 100644 index 362acce252..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/character_code_conversion.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/character_code_conversion.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_CHARACTER_CODE_CONVERSION_HPP -#define BOOST_DETAIL_WINAPI_CHARACTER_CODE_CONVERSION_HPP - -#include <boost/winapi/character_code_conversion.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_CHARACTER_CODE_CONVERSION_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/condition_variable.hpp b/contrib/restricted/boost/boost/detail/winapi/condition_variable.hpp deleted file mode 100644 index 76155d4771..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/condition_variable.hpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/condition_variable.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_CONDITION_VARIABLE_HPP -#define BOOST_DETAIL_WINAPI_CONDITION_VARIABLE_HPP - -#include <boost/winapi/condition_variable.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -// Deprecated -#define BOOST_DETAIL_WINAPI_CONDITION_VARIABLE_INIT BOOST_WINAPI_CONDITION_VARIABLE_INIT - -#endif // BOOST_DETAIL_WINAPI_CONDITION_VARIABLE_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/config.hpp b/contrib/restricted/boost/boost/detail/winapi/config.hpp deleted file mode 100644 index 8798b03c7c..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/config.hpp +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/config.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_CONFIG_HPP_INCLUDED_ -#define BOOST_DETAIL_WINAPI_CONFIG_HPP_INCLUDED_ - -#include <boost/winapi/config.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_CONFIG_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/detail/winapi/critical_section.hpp b/contrib/restricted/boost/boost/detail/winapi/critical_section.hpp deleted file mode 100644 index 5ebca1dd0d..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/critical_section.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/critical_section.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_CRITICAL_SECTION_HPP -#define BOOST_DETAIL_WINAPI_CRITICAL_SECTION_HPP - -#include <boost/winapi/critical_section.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_CRITICAL_SECTION_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/crypt.hpp b/contrib/restricted/boost/boost/detail/winapi/crypt.hpp deleted file mode 100644 index 76e717f2ca..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/crypt.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/crypt.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_CRYPT_HPP -#define BOOST_DETAIL_WINAPI_CRYPT_HPP - -#include <boost/winapi/crypt.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_CRYPT_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/dbghelp.hpp b/contrib/restricted/boost/boost/detail/winapi/dbghelp.hpp deleted file mode 100644 index e63ba6452d..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/dbghelp.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/dbghelp.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_DBGHELP_HPP -#define BOOST_DETAIL_WINAPI_DBGHELP_HPP - -#include <boost/winapi/dbghelp.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_DBGHELP_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/debugapi.hpp b/contrib/restricted/boost/boost/detail/winapi/debugapi.hpp deleted file mode 100644 index f2b0de286a..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/debugapi.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/debugapi.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_DEBUGAPI_HPP -#define BOOST_DETAIL_WINAPI_DEBUGAPI_HPP - -#include <boost/winapi/debugapi.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_DEBUGAPI_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/directory_management.hpp b/contrib/restricted/boost/boost/detail/winapi/directory_management.hpp deleted file mode 100644 index 4fd3bf972f..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/directory_management.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/directory_management.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_DIRECTORY_MANAGEMENT_HPP -#define BOOST_DETAIL_WINAPI_DIRECTORY_MANAGEMENT_HPP - -#include <boost/winapi/directory_management.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_DIRECTORY_MANAGEMENT_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/dll.hpp b/contrib/restricted/boost/boost/detail/winapi/dll.hpp deleted file mode 100644 index 1fdd7dde31..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/dll.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/dll.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_DLL_HPP -#define BOOST_DETAIL_WINAPI_DLL_HPP - -#include <boost/winapi/dll.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_DLL_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/environment.hpp b/contrib/restricted/boost/boost/detail/winapi/environment.hpp deleted file mode 100644 index a1c1820714..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/environment.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/environment.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_ENVIRONMENT_HPP_ -#define BOOST_DETAIL_WINAPI_ENVIRONMENT_HPP_ - -#include <boost/winapi/environment.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_ENVIRONMENT_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/error_codes.hpp b/contrib/restricted/boost/boost/detail/winapi/error_codes.hpp deleted file mode 100644 index e57efe5c65..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/error_codes.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/error_codes.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_ERROR_CODES_HPP_ -#define BOOST_DETAIL_WINAPI_ERROR_CODES_HPP_ - -#include <boost/winapi/error_codes.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_ERROR_CODES_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/error_handling.hpp b/contrib/restricted/boost/boost/detail/winapi/error_handling.hpp deleted file mode 100644 index 6faa536530..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/error_handling.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/error_handling.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_ERROR_HANDLING_HPP -#define BOOST_DETAIL_WINAPI_ERROR_HANDLING_HPP - -#include <boost/winapi/error_handling.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_ERROR_HANDLING_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/event.hpp b/contrib/restricted/boost/boost/detail/winapi/event.hpp deleted file mode 100644 index 92d3e6b00f..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/event.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/event.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_EVENT_HPP_ -#define BOOST_DETAIL_WINAPI_EVENT_HPP_ - -#include <boost/winapi/event.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_EVENT_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/file_management.hpp b/contrib/restricted/boost/boost/detail/winapi/file_management.hpp deleted file mode 100644 index 3644437e03..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/file_management.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/file_management.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_FILE_MANAGEMENT_HPP -#define BOOST_DETAIL_WINAPI_FILE_MANAGEMENT_HPP - -#include <boost/winapi/file_management.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_FILE_MANAGEMENT_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/file_mapping.hpp b/contrib/restricted/boost/boost/detail/winapi/file_mapping.hpp deleted file mode 100644 index 4f0b335c76..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/file_mapping.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/file_mapping.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_FILE_MAPPING_HPP -#define BOOST_DETAIL_WINAPI_FILE_MAPPING_HPP - -#include <boost/winapi/file_mapping.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_FILE_MAPPING_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/get_current_process_id.hpp b/contrib/restricted/boost/boost/detail/winapi/get_current_process_id.hpp deleted file mode 100644 index 7bac1a5bb2..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/get_current_process_id.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/get_current_process_id.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_GET_CURRENT_PROCESS_ID_HPP -#define BOOST_DETAIL_WINAPI_GET_CURRENT_PROCESS_ID_HPP - -#include <boost/winapi/get_current_process_id.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_GET_CURRENT_PROCESS_ID_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/get_current_thread_id.hpp b/contrib/restricted/boost/boost/detail/winapi/get_current_thread_id.hpp deleted file mode 100644 index abf2883300..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/get_current_thread_id.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/get_current_thread_id.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_ID_HPP -#define BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_ID_HPP - -#include <boost/winapi/get_current_thread_id.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_ID_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/get_system_directory.hpp b/contrib/restricted/boost/boost/detail/winapi/get_system_directory.hpp deleted file mode 100644 index ca0f13da24..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/get_system_directory.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/get_system_directory.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_GET_SYSTEM_DIRECTORY_HPP_ -#define BOOST_DETAIL_WINAPI_GET_SYSTEM_DIRECTORY_HPP_ - -#include <boost/winapi/get_system_directory.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_GET_SYSTEM_DIRECTORY_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/handle_info.hpp b/contrib/restricted/boost/boost/detail/winapi/handle_info.hpp deleted file mode 100644 index 55c7ef319e..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/handle_info.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/handle_info.hpp instead. - */ - -#ifndef BOOST_DETAIL_HANDLE_INFO_HPP_ -#define BOOST_DETAIL_HANDLE_INFO_HPP_ - -#include <boost/winapi/handle_info.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_HANDLE_INFO_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/handles.hpp b/contrib/restricted/boost/boost/detail/winapi/handles.hpp deleted file mode 100644 index 46ce752586..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/handles.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/handles.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_HANDLES_HPP -#define BOOST_DETAIL_WINAPI_HANDLES_HPP - -#include <boost/winapi/handles.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_HANDLES_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/heap_memory.hpp b/contrib/restricted/boost/boost/detail/winapi/heap_memory.hpp deleted file mode 100644 index 9c447ecfea..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/heap_memory.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/heap_memory.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_HEAP_MEMORY_HPP_ -#define BOOST_DETAIL_WINAPI_HEAP_MEMORY_HPP_ - -#include <boost/winapi/heap_memory.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_HEAP_MEMORY_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/init_once.hpp b/contrib/restricted/boost/boost/detail/winapi/init_once.hpp deleted file mode 100644 index ccd33111dd..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/init_once.hpp +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/init_once.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_INIT_ONCE_HPP -#define BOOST_DETAIL_WINAPI_INIT_ONCE_HPP - -#include <boost/winapi/init_once.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#define BOOST_DETAIL_WINAPI_INIT_ONCE_STATIC_INIT BOOST_WINAPI_INIT_ONCE_STATIC_INIT - -#endif // BOOST_DETAIL_WINAPI_INIT_ONCE_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/jobs.hpp b/contrib/restricted/boost/boost/detail/winapi/jobs.hpp deleted file mode 100644 index 86164f4931..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/jobs.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/jobs.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_JOBS_HPP_ -#define BOOST_DETAIL_WINAPI_JOBS_HPP_ - -#include <boost/winapi/jobs.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_JOBS_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/limits.hpp b/contrib/restricted/boost/boost/detail/winapi/limits.hpp deleted file mode 100644 index df6ae9f6a9..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/limits.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/limits.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_LIMITS_HPP_ -#define BOOST_DETAIL_WINAPI_LIMITS_HPP_ - -#include <boost/winapi/limits.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_LIMITS_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/local_memory.hpp b/contrib/restricted/boost/boost/detail/winapi/local_memory.hpp deleted file mode 100644 index 142e9a6631..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/local_memory.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/local_memory.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_LOCAL_MEMORY_HPP -#define BOOST_DETAIL_WINAPI_LOCAL_MEMORY_HPP - -#include <boost/winapi/local_memory.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_LOCAL_MEMORY_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/memory.hpp b/contrib/restricted/boost/boost/detail/winapi/memory.hpp deleted file mode 100644 index 0715e79706..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/memory.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/memory.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_MEMORY_HPP -#define BOOST_DETAIL_WINAPI_MEMORY_HPP - -#include <boost/winapi/memory.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_MEMORY_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/mutex.hpp b/contrib/restricted/boost/boost/detail/winapi/mutex.hpp deleted file mode 100644 index 457e79b66a..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/mutex.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/mutex.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_MUTEX_HPP_ -#define BOOST_DETAIL_WINAPI_MUTEX_HPP_ - -#include <boost/winapi/mutex.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_MUTEX_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/overlapped.hpp b/contrib/restricted/boost/boost/detail/winapi/overlapped.hpp deleted file mode 100644 index d9f4a576f4..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/overlapped.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/overlapped.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_OVERLAPPED_HPP_ -#define BOOST_DETAIL_WINAPI_OVERLAPPED_HPP_ - -#include <boost/winapi/overlapped.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_OVERLAPPED_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/page_protection_flags.hpp b/contrib/restricted/boost/boost/detail/winapi/page_protection_flags.hpp deleted file mode 100644 index 7cb2c6cd27..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/page_protection_flags.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/page_protection_flags.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_PAGE_PROTECTION_FLAGS_HPP -#define BOOST_DETAIL_WINAPI_PAGE_PROTECTION_FLAGS_HPP - -#include <boost/winapi/page_protection_flags.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_PAGE_PROTECTION_FLAGS_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/pipes.hpp b/contrib/restricted/boost/boost/detail/winapi/pipes.hpp deleted file mode 100644 index e01ab1184c..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/pipes.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/pipes.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_PIPES_HPP_ -#define BOOST_DETAIL_WINAPI_PIPES_HPP_ - -#include <boost/winapi/pipes.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_PIPES_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/priority_class.hpp b/contrib/restricted/boost/boost/detail/winapi/priority_class.hpp deleted file mode 100644 index f1c018dd26..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/priority_class.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/priority_class.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_PRIORITY_CLASS_HPP_ -#define BOOST_DETAIL_WINAPI_PRIORITY_CLASS_HPP_ - -#include <boost/winapi/priority_class.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_PRIORITY_CLASS_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/process.hpp b/contrib/restricted/boost/boost/detail/winapi/process.hpp deleted file mode 100644 index 3810ba7e05..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/process.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/process.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_PROCESS_HPP_ -#define BOOST_DETAIL_WINAPI_PROCESS_HPP_ - -#include <boost/winapi/process.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_PROCESS_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/security.hpp b/contrib/restricted/boost/boost/detail/winapi/security.hpp deleted file mode 100644 index 71b2426f41..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/security.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/security.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_SECURITY_HPP -#define BOOST_DETAIL_WINAPI_SECURITY_HPP - -#include <boost/winapi/security.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_SECURITY_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/semaphore.hpp b/contrib/restricted/boost/boost/detail/winapi/semaphore.hpp deleted file mode 100644 index 5770d6215a..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/semaphore.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/semaphore.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_SEMAPHORE_HPP_ -#define BOOST_DETAIL_WINAPI_SEMAPHORE_HPP_ - -#include <boost/winapi/semaphore.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_SEMAPHORE_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/shell.hpp b/contrib/restricted/boost/boost/detail/winapi/shell.hpp deleted file mode 100644 index 568131dea5..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/shell.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/shell.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_SHELL_HPP_ -#define BOOST_DETAIL_WINAPI_SHELL_HPP_ - -#include <boost/winapi/shell.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_SHELL_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/show_window.hpp b/contrib/restricted/boost/boost/detail/winapi/show_window.hpp deleted file mode 100644 index 4c18b61f91..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/show_window.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/show_window.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_SHOW_WINDOW_HPP_ -#define BOOST_DETAIL_WINAPI_SHOW_WINDOW_HPP_ - -#include <boost/winapi/show_window.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_SHOW_WINDOW_HPP_ diff --git a/contrib/restricted/boost/boost/detail/winapi/srw_lock.hpp b/contrib/restricted/boost/boost/detail/winapi/srw_lock.hpp deleted file mode 100644 index 0fc084048e..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/srw_lock.hpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/srw_lock.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_SRW_LOCK_HPP -#define BOOST_DETAIL_WINAPI_SRW_LOCK_HPP - -#include <boost/winapi/srw_lock.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -// Deprecated -#define BOOST_DETAIL_WINAPI_SRWLOCK_INIT BOOST_WINAPI_SRWLOCK_INIT - -#endif // BOOST_DETAIL_WINAPI_SRW_LOCK_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/stack_backtrace.hpp b/contrib/restricted/boost/boost/detail/winapi/stack_backtrace.hpp deleted file mode 100644 index 19f37036b8..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/stack_backtrace.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/stack_backtrace.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_STACK_BACKTRACE_HPP_INCLUDED_ -#define BOOST_DETAIL_WINAPI_STACK_BACKTRACE_HPP_INCLUDED_ - -#include <boost/winapi/stack_backtrace.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_STACK_BACKTRACE_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/detail/winapi/synchronization.hpp b/contrib/restricted/boost/boost/detail/winapi/synchronization.hpp deleted file mode 100644 index e8668922a5..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/synchronization.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/synchronization.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_SYNCHRONIZATION_HPP -#define BOOST_DETAIL_WINAPI_SYNCHRONIZATION_HPP - -#include <boost/winapi/synchronization.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_SYNCHRONIZATION_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/system.hpp b/contrib/restricted/boost/boost/detail/winapi/system.hpp deleted file mode 100644 index c89846f2c9..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/system.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/system.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_SYSTEM_HPP -#define BOOST_DETAIL_WINAPI_SYSTEM_HPP - -#include <boost/winapi/system.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_SYSTEM_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/thread.hpp b/contrib/restricted/boost/boost/detail/winapi/thread.hpp deleted file mode 100644 index 25eda0d7a2..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/thread.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/thread.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_THREAD_HPP -#define BOOST_DETAIL_WINAPI_THREAD_HPP - -#include <boost/winapi/thread.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_THREAD_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/thread_pool.hpp b/contrib/restricted/boost/boost/detail/winapi/thread_pool.hpp deleted file mode 100644 index 4c90d0c1d2..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/thread_pool.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/thread_pool.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_THREAD_POOL_HPP -#define BOOST_DETAIL_WINAPI_THREAD_POOL_HPP - -#include <boost/winapi/thread_pool.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_THREAD_POOL_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/tls.hpp b/contrib/restricted/boost/boost/detail/winapi/tls.hpp deleted file mode 100644 index 00da0648e6..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/tls.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/tls.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_TLS_HPP -#define BOOST_DETAIL_WINAPI_TLS_HPP - -#include <boost/winapi/tls.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_TLS_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/wait.hpp b/contrib/restricted/boost/boost/detail/winapi/wait.hpp deleted file mode 100644 index 017cefbf92..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/wait.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/wait.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_WAIT_HPP -#define BOOST_DETAIL_WINAPI_WAIT_HPP - -#include <boost/winapi/wait.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_WAIT_HPP diff --git a/contrib/restricted/boost/boost/detail/winapi/waitable_timer.hpp b/contrib/restricted/boost/boost/detail/winapi/waitable_timer.hpp deleted file mode 100644 index 0ba5bc9873..0000000000 --- a/contrib/restricted/boost/boost/detail/winapi/waitable_timer.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - * - * This header is deprecated, use boost/winapi/waitable_timer.hpp instead. - */ - -#ifndef BOOST_DETAIL_WINAPI_WAITABLE_TIMER_HPP -#define BOOST_DETAIL_WINAPI_WAITABLE_TIMER_HPP - -#include <boost/winapi/waitable_timer.hpp> -#include <boost/detail/winapi/detail/deprecated_namespace.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_DETAIL_WINAPI_WAITABLE_TIMER_HPP diff --git a/contrib/restricted/boost/boost/winapi/apc.hpp b/contrib/restricted/boost/boost/winapi/apc.hpp deleted file mode 100644 index 9f3ce3b541..0000000000 --- a/contrib/restricted/boost/boost/winapi/apc.hpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2010 Vicente J. Botet Escriba - * Copyright 2015 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_APC_HPP_INCLUDED_ -#define BOOST_WINAPI_APC_HPP_INCLUDED_ - -#include <boost/winapi/config.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4 -#include <boost/winapi/basic_types.hpp> - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { -typedef boost::winapi::VOID_ (NTAPI *PAPCFUNC)(boost::winapi::ULONG_PTR_ Parameter); - -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_ WINAPI -QueueUserAPC( - PAPCFUNC pfnAPC, - boost::winapi::HANDLE_ hThread, - boost::winapi::ULONG_PTR_ dwData); -} -#endif - -namespace boost { -namespace winapi { -typedef ::PAPCFUNC PAPCFUNC_; -using ::QueueUserAPC; -} -} - -#endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4 -#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM -#endif // BOOST_WINAPI_APC_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/bcrypt.hpp b/contrib/restricted/boost/boost/winapi/bcrypt.hpp deleted file mode 100644 index 4aee61a5a7..0000000000 --- a/contrib/restricted/boost/boost/winapi/bcrypt.hpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2017 James E. King, III - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_BCRYPT_HPP_INCLUDED_ -#define BOOST_WINAPI_BCRYPT_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if defined(BOOST_WINAPI_IS_MINGW_W64) || (BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6) - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM - -#if defined(BOOST_USE_WINDOWS_H) - -#include <bcrypt.h> - -namespace boost { namespace winapi { -typedef ::BCRYPT_ALG_HANDLE BCRYPT_ALG_HANDLE_; -}} - -#else // defined(BOOST_USE_WINDOWS_H) - -namespace boost { namespace winapi { -typedef PVOID_ BCRYPT_ALG_HANDLE_; -}} - -extern "C" { - -boost::winapi::NTSTATUS_ WINAPI -BCryptCloseAlgorithmProvider( - boost::winapi::BCRYPT_ALG_HANDLE_ hAlgorithm, - boost::winapi::ULONG_ dwFlags -); - -boost::winapi::NTSTATUS_ WINAPI -BCryptGenRandom( - boost::winapi::BCRYPT_ALG_HANDLE_ hAlgorithm, - boost::winapi::PUCHAR_ pbBuffer, - boost::winapi::ULONG_ cbBuffer, - boost::winapi::ULONG_ dwFlags -); - -boost::winapi::NTSTATUS_ WINAPI -BCryptOpenAlgorithmProvider( - boost::winapi::BCRYPT_ALG_HANDLE_ *phAlgorithm, - boost::winapi::LPCWSTR_ pszAlgId, - boost::winapi::LPCWSTR_ pszImplementation, - boost::winapi::DWORD_ dwFlags -); - -} // extern "C" - -#endif // defined(BOOST_USE_WINDOWS_H) - -namespace boost { -namespace winapi { - -#if defined(BOOST_USE_WINDOWS_H) -const WCHAR_ BCRYPT_RNG_ALGORITHM_[] = BCRYPT_RNG_ALGORITHM; -#else -const WCHAR_ BCRYPT_RNG_ALGORITHM_[] = L"RNG"; -#endif - -using ::BCryptCloseAlgorithmProvider; -using ::BCryptGenRandom; -using ::BCryptOpenAlgorithmProvider; - -} // winapi -} // boost - -#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM - -#endif // defined(BOOST_WINAPI_IS_MINGW_W64) || (BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6) - -#endif // BOOST_WINAPI_BCRYPT_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/critical_section.hpp b/contrib/restricted/boost/boost/winapi/critical_section.hpp deleted file mode 100644 index 9c67f46c80..0000000000 --- a/contrib/restricted/boost/boost/winapi/critical_section.hpp +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright 2010 Vicente J. Botet Escriba - * Copyright 2015 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_CRITICAL_SECTION_HPP_INCLUDED_ -#define BOOST_WINAPI_CRITICAL_SECTION_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> -#include <boost/winapi/detail/cast_ptr.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if !defined( BOOST_USE_WINDOWS_H ) - -extern "C" { -#if !defined( BOOST_WINAPI_IS_MINGW ) -struct _RTL_CRITICAL_SECTION; - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -BOOST_SYMBOL_IMPORT boost::winapi::VOID_ WINAPI -InitializeCriticalSection(::_RTL_CRITICAL_SECTION* lpCriticalSection); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::VOID_ WINAPI -EnterCriticalSection(::_RTL_CRITICAL_SECTION* lpCriticalSection); - -BOOST_SYMBOL_IMPORT boost::winapi::VOID_ WINAPI -LeaveCriticalSection(::_RTL_CRITICAL_SECTION* lpCriticalSection); - -#if BOOST_USE_WINAPI_VERSION >= 0x0403 -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -InitializeCriticalSectionAndSpinCount( - ::_RTL_CRITICAL_SECTION* lpCriticalSection, - boost::winapi::DWORD_ dwSpinCount); - -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_ WINAPI -SetCriticalSectionSpinCount( - ::_RTL_CRITICAL_SECTION* lpCriticalSection, - boost::winapi::DWORD_ dwSpinCount); -#endif - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -InitializeCriticalSectionEx( - ::_RTL_CRITICAL_SECTION* lpCriticalSection, - boost::winapi::DWORD_ dwSpinCount, - boost::winapi::DWORD_ Flags); -#endif -#endif - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4 -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -TryEnterCriticalSection(::_RTL_CRITICAL_SECTION* lpCriticalSection); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::VOID_ WINAPI -DeleteCriticalSection(::_RTL_CRITICAL_SECTION* lpCriticalSection); - -#else // defined( BOOST_WINAPI_IS_MINGW ) - -// MinGW uses a different name for the structure -struct _CRITICAL_SECTION; - -BOOST_SYMBOL_IMPORT boost::winapi::VOID_ WINAPI -InitializeCriticalSection(::_CRITICAL_SECTION* lpCriticalSection); - -BOOST_SYMBOL_IMPORT boost::winapi::VOID_ WINAPI -EnterCriticalSection(::_CRITICAL_SECTION* lpCriticalSection); - -BOOST_SYMBOL_IMPORT boost::winapi::VOID_ WINAPI -LeaveCriticalSection(::_CRITICAL_SECTION* lpCriticalSection); - -#if BOOST_USE_WINAPI_VERSION >= 0x0403 -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -InitializeCriticalSectionAndSpinCount( - ::_CRITICAL_SECTION* lpCriticalSection, - boost::winapi::DWORD_ dwSpinCount); - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -InitializeCriticalSectionEx( - ::_CRITICAL_SECTION* lpCriticalSection, - boost::winapi::DWORD_ dwSpinCount, - boost::winapi::DWORD_ Flags); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_ WINAPI -SetCriticalSectionSpinCount( - ::_CRITICAL_SECTION* lpCriticalSection, - boost::winapi::DWORD_ dwSpinCount); -#endif - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4 -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -TryEnterCriticalSection(::_CRITICAL_SECTION* lpCriticalSection); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::VOID_ WINAPI -DeleteCriticalSection(::_CRITICAL_SECTION* lpCriticalSection); - -#endif // defined( BOOST_WINAPI_IS_MINGW ) -} // extern "C" -#endif - -namespace boost { -namespace winapi { - -struct _RTL_CRITICAL_SECTION_DEBUG; - -#pragma pack(push, 8) - -typedef struct BOOST_MAY_ALIAS _RTL_CRITICAL_SECTION { - _RTL_CRITICAL_SECTION_DEBUG* DebugInfo; - LONG_ LockCount; - LONG_ RecursionCount; - HANDLE_ OwningThread; - HANDLE_ LockSemaphore; - ULONG_PTR_ SpinCount; -} CRITICAL_SECTION_, *PCRITICAL_SECTION_; - -#pragma pack(pop) - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -BOOST_FORCEINLINE VOID_ InitializeCriticalSection(CRITICAL_SECTION_* lpCriticalSection) -{ - ::InitializeCriticalSection(winapi::detail::cast_ptr(lpCriticalSection)); -} -#endif - -BOOST_FORCEINLINE VOID_ EnterCriticalSection(CRITICAL_SECTION_* lpCriticalSection) -{ - ::EnterCriticalSection(winapi::detail::cast_ptr(lpCriticalSection)); -} - -BOOST_FORCEINLINE VOID_ LeaveCriticalSection(CRITICAL_SECTION_* lpCriticalSection) -{ - ::LeaveCriticalSection(winapi::detail::cast_ptr(lpCriticalSection)); -} - -#if BOOST_USE_WINAPI_VERSION >= 0x0403 -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -BOOST_FORCEINLINE BOOL_ InitializeCriticalSectionAndSpinCount(CRITICAL_SECTION_* lpCriticalSection, DWORD_ dwSpinCount) -{ - return ::InitializeCriticalSectionAndSpinCount(winapi::detail::cast_ptr(lpCriticalSection), dwSpinCount); -} - -BOOST_FORCEINLINE DWORD_ SetCriticalSectionSpinCount(CRITICAL_SECTION_* lpCriticalSection, DWORD_ dwSpinCount) -{ - return ::SetCriticalSectionSpinCount(winapi::detail::cast_ptr(lpCriticalSection), dwSpinCount); -} -#endif - -// CRITICAL_SECTION_NO_DEBUG_INFO is defined for WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) -const DWORD_ CRITICAL_SECTION_NO_DEBUG_INFO_ = 0x01000000; -const DWORD_ CRITICAL_SECTION_FLAG_NO_DEBUG_INFO_ = CRITICAL_SECTION_NO_DEBUG_INFO_; -const DWORD_ CRITICAL_SECTION_FLAG_DYNAMIC_SPIN_ = 0x02000000; // undocumented -const DWORD_ CRITICAL_SECTION_FLAG_STATIC_INIT_ = 0x04000000; // undocumented - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -BOOST_FORCEINLINE BOOL_ InitializeCriticalSectionEx(CRITICAL_SECTION_* lpCriticalSection, DWORD_ dwSpinCount, DWORD_ Flags) -{ - return ::InitializeCriticalSectionEx(winapi::detail::cast_ptr(lpCriticalSection), dwSpinCount, Flags); -} -#endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -#endif // BOOST_USE_WINAPI_VERSION >= 0x0403 - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4 -BOOST_FORCEINLINE BOOL_ TryEnterCriticalSection(CRITICAL_SECTION_* lpCriticalSection) -{ - return ::TryEnterCriticalSection(winapi::detail::cast_ptr(lpCriticalSection)); -} -#endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4 - -BOOST_FORCEINLINE VOID_ DeleteCriticalSection(CRITICAL_SECTION_* lpCriticalSection) -{ - ::DeleteCriticalSection(winapi::detail::cast_ptr(lpCriticalSection)); -} - -} -} - -#endif // BOOST_WINAPI_CRITICAL_SECTION_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/crypt.hpp b/contrib/restricted/boost/boost/winapi/crypt.hpp deleted file mode 100644 index 98c5958b43..0000000000 --- a/contrib/restricted/boost/boost/winapi/crypt.hpp +++ /dev/null @@ -1,241 +0,0 @@ -/* - * Copyright 2014 Antony Polukhin - * Copyright 2015 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_CRYPT_HPP_INCLUDED_ -#define BOOST_WINAPI_CRYPT_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> -#include <boost/winapi/detail/cast_ptr.hpp> -#if defined( BOOST_USE_WINDOWS_H ) -// This header is not always included as part of windows.h -#include <wincrypt.h> -#endif - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if !defined( BOOST_USE_WINDOWS_H ) -namespace boost { namespace winapi { -typedef ULONG_PTR_ HCRYPTPROV_; -}} - -// Some versions of MinGW contain buggy declarations of CryptEnumProvidersA and CryptEnumProvidersW. -// We cannot detect those broken versions, and we can't include the system header because it's incomplete. -// So below we duplicate the broken declarations here and work around the problem with cast_ptr. These declarations -// will have to be removed when MinGW is fixed. -// -// @@@ Looks like mingw 5.0-dev has this fixed and possibly in a 3.2x late release as well -// See: https://sourceforge.net/p/mingw/bugs/2263/ - -extern "C" { -#if BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM -#if !defined( BOOST_NO_ANSI_APIS ) -#if !defined( BOOST_WINAPI_IS_MINGW ) || !defined( UNICODE ) -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -CryptEnumProvidersA( - boost::winapi::DWORD_ dwIndex, - boost::winapi::DWORD_ *pdwReserved, - boost::winapi::DWORD_ dwFlags, - boost::winapi::DWORD_ *pdwProvType, - boost::winapi::LPSTR_ szProvName, - boost::winapi::DWORD_ *pcbProvName); -#else -// Broken declaration in MinGW -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -CryptEnumProvidersA( - boost::winapi::DWORD_ dwIndex, - boost::winapi::DWORD_ *pdwReserved, - boost::winapi::DWORD_ dwFlags, - boost::winapi::DWORD_ *pdwProvType, - boost::winapi::LPWSTR_ szProvName, - boost::winapi::DWORD_ *pcbProvName); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -CryptAcquireContextA( - boost::winapi::HCRYPTPROV_ *phProv, - boost::winapi::LPCSTR_ pszContainer, - boost::winapi::LPCSTR_ pszProvider, - boost::winapi::DWORD_ dwProvType, - boost::winapi::DWORD_ dwFlags); -#endif // !defined( BOOST_NO_ANSI_APIS ) - -#if !defined( BOOST_WINAPI_IS_MINGW ) || defined( UNICODE ) -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -CryptEnumProvidersW( - boost::winapi::DWORD_ dwIndex, - boost::winapi::DWORD_ *pdwReserved, - boost::winapi::DWORD_ dwFlags, - boost::winapi::DWORD_ *pdwProvType, - boost::winapi::LPWSTR_ szProvName, - boost::winapi::DWORD_ *pcbProvName); -#else -// Broken declaration in MinGW -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -CryptEnumProvidersW( - boost::winapi::DWORD_ dwIndex, - boost::winapi::DWORD_ *pdwReserved, - boost::winapi::DWORD_ dwFlags, - boost::winapi::DWORD_ *pdwProvType, - boost::winapi::LPSTR_ szProvName, - boost::winapi::DWORD_ *pcbProvName); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -CryptAcquireContextW( - boost::winapi::HCRYPTPROV_ *phProv, - boost::winapi::LPCWSTR_ szContainer, - boost::winapi::LPCWSTR_ szProvider, - boost::winapi::DWORD_ dwProvType, - boost::winapi::DWORD_ dwFlags); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -CryptGenRandom( - boost::winapi::HCRYPTPROV_ hProv, - boost::winapi::DWORD_ dwLen, - boost::winapi::BYTE_ *pbBuffer); -#endif // BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -#if defined(_MSC_VER) && (_MSC_VER+0) >= 1500 && (_MSC_VER+0) < 1900 && BOOST_USE_NTDDI_VERSION < BOOST_WINAPI_NTDDI_WINXP -// Standalone MS Windows SDK 6.0A and later until 10.0 provide a different declaration of CryptReleaseContext for Windows 2000 and older. -// This is not the case for (a) MinGW and MinGW-w64, (b) MSVC 7.1 and 8, which are shipped with their own Windows SDK, -// and (c) MSVC 14.0 and later, which are used with Windows SDK 10. -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -CryptReleaseContext( - boost::winapi::HCRYPTPROV_ hProv, - boost::winapi::ULONG_PTR_ dwFlags); -#else -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -CryptReleaseContext( - boost::winapi::HCRYPTPROV_ hProv, - boost::winapi::DWORD_ dwFlags); -#endif -#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM -} -#endif // !defined( BOOST_USE_WINDOWS_H ) - -namespace boost { -namespace winapi { - -#if defined( BOOST_USE_WINDOWS_H ) - -typedef ::HCRYPTPROV HCRYPTPROV_; - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -const DWORD_ PROV_RSA_FULL_ = PROV_RSA_FULL; - -const DWORD_ CRYPT_VERIFYCONTEXT_ = CRYPT_VERIFYCONTEXT; -const DWORD_ CRYPT_NEWKEYSET_ = CRYPT_NEWKEYSET; -const DWORD_ CRYPT_DELETEKEYSET_ = CRYPT_DELETEKEYSET; -const DWORD_ CRYPT_MACHINE_KEYSET_ = CRYPT_MACHINE_KEYSET; -const DWORD_ CRYPT_SILENT_ = CRYPT_SILENT; -#endif - -#else - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -const DWORD_ PROV_RSA_FULL_ = 1; - -const DWORD_ CRYPT_VERIFYCONTEXT_ = 0xF0000000; -const DWORD_ CRYPT_NEWKEYSET_ = 8; -const DWORD_ CRYPT_DELETEKEYSET_ = 16; -const DWORD_ CRYPT_MACHINE_KEYSET_ = 32; -const DWORD_ CRYPT_SILENT_ = 64; -#endif - -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM - -#if !defined( BOOST_NO_ANSI_APIS ) -using ::CryptAcquireContextA; -#endif -using ::CryptAcquireContextW; -using ::CryptGenRandom; - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE BOOL_ CryptEnumProvidersA( - DWORD_ dwIndex, - DWORD_ *pdwReserved, - DWORD_ dwFlags, - DWORD_ *pdwProvType, - LPSTR_ szProvName, - DWORD_ *pcbProvName) -{ - return ::CryptEnumProvidersA(dwIndex, pdwReserved, dwFlags, pdwProvType, winapi::detail::cast_ptr(szProvName), pcbProvName); -} - -BOOST_FORCEINLINE BOOL_ crypt_enum_providers( - DWORD_ dwIndex, - DWORD_ *pdwReserved, - DWORD_ dwFlags, - DWORD_ *pdwProvType, - LPSTR_ szProvName, - DWORD_ *pcbProvName) -{ - return ::CryptEnumProvidersA(dwIndex, pdwReserved, dwFlags, pdwProvType, winapi::detail::cast_ptr(szProvName), pcbProvName); -} - -BOOST_FORCEINLINE BOOL_ crypt_acquire_context( - HCRYPTPROV_ *phProv, - LPCSTR_ pszContainer, - LPCSTR_ pszProvider, - DWORD_ dwProvType, - DWORD_ dwFlags) -{ - return ::CryptAcquireContextA(phProv, pszContainer, pszProvider, dwProvType, dwFlags); -} -#endif - -BOOST_FORCEINLINE BOOL_ CryptEnumProvidersW( - DWORD_ dwIndex, - DWORD_ *pdwReserved, - DWORD_ dwFlags, - DWORD_ *pdwProvType, - LPWSTR_ szProvName, - DWORD_ *pcbProvName) -{ - return ::CryptEnumProvidersW(dwIndex, pdwReserved, dwFlags, pdwProvType, winapi::detail::cast_ptr(szProvName), pcbProvName); -} - -BOOST_FORCEINLINE BOOL_ crypt_enum_providers( - DWORD_ dwIndex, - DWORD_ *pdwReserved, - DWORD_ dwFlags, - DWORD_ *pdwProvType, - LPWSTR_ szProvName, - DWORD_ *pcbProvName) -{ - return ::CryptEnumProvidersW(dwIndex, pdwReserved, dwFlags, pdwProvType, winapi::detail::cast_ptr(szProvName), pcbProvName); -} - -BOOST_FORCEINLINE BOOL_ crypt_acquire_context( - HCRYPTPROV_ *phProv, - LPCWSTR_ szContainer, - LPCWSTR_ szProvider, - DWORD_ dwProvType, - DWORD_ dwFlags) -{ - return ::CryptAcquireContextW(phProv, szContainer, szProvider, dwProvType, dwFlags); -} - -#endif // BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -BOOST_FORCEINLINE BOOL_ CryptReleaseContext(HCRYPTPROV_ hProv, DWORD_ dwFlags) -{ - return ::CryptReleaseContext(hProv, dwFlags); -} -#endif - -} -} - -#endif // BOOST_WINAPI_CRYPT_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/dbghelp.hpp b/contrib/restricted/boost/boost/winapi/dbghelp.hpp deleted file mode 100644 index 61e212dadc..0000000000 --- a/contrib/restricted/boost/boost/winapi/dbghelp.hpp +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Copyright 2015 Klemens Morgenstern - * Copyright 2016 Jorge Lodos - * Copyright 2016 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_DBGHELP_HPP_INCLUDED_ -#define BOOST_WINAPI_DBGHELP_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#if defined( BOOST_USE_WINDOWS_H ) -#if !defined( BOOST_WINAPI_IS_MINGW ) -#include <dbghelp.h> -#else -// In MinGW there is no dbghelp.h but an older imagehlp.h header defines some of the symbols from it. -// Note that the user has to link with libimagehlp.a instead of libdbghelp.a for it to work. -#include <imagehlp.h> -#endif -#endif - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP - -// Some symbols declared below are not present in all versions of Windows SDK, MinGW and MinGW-w64. -// dbghelp.h/imagehlp.h define the API_VERSION_NUMBER macro which we use to detect its version. -// When the macro is not available we can only guess based on the compiler version or SDK type. -#if defined(API_VERSION_NUMBER) -#if API_VERSION_NUMBER >= 11 -// UnDecorateSymbolNameW available since Windows SDK 6.0A and MinGW-w64 (as of 2016-02-14) -#define BOOST_WINAPI_DETAIL_HAS_UNDECORATESYMBOLNAMEW -#endif -#elif defined(_MSC_VER) && _MSC_VER >= 1500 -// Until MSVC 9.0 Windows SDK was bundled in Visual Studio and didn't have UnDecorateSymbolNameW. -// Supposedly, Windows SDK 6.0A was the first standalone one and it is used with MSVC 9.0. -#define BOOST_WINAPI_DETAIL_HAS_UNDECORATESYMBOLNAMEW -#elif !defined(BOOST_WINAPI_IS_MINGW) -// MinGW does not provide UnDecorateSymbolNameW (as of 2016-02-14) -#define BOOST_WINAPI_DETAIL_HAS_UNDECORATESYMBOLNAMEW -#endif - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { - -struct API_VERSION; - -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_ WINAPI -UnDecorateSymbolName( - boost::winapi::LPCSTR_ DecoratedName, - boost::winapi::LPSTR_ UnDecoratedName, - boost::winapi::DWORD_ UndecoratedLength, - boost::winapi::DWORD_ Flags); - -#if defined( BOOST_WINAPI_DETAIL_HAS_UNDECORATESYMBOLNAMEW ) -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_ WINAPI -UnDecorateSymbolNameW( - boost::winapi::LPCWSTR_ DecoratedName, - boost::winapi::LPWSTR_ UnDecoratedName, - boost::winapi::DWORD_ UndecoratedLength, - boost::winapi::DWORD_ Flags); -#endif - -BOOST_SYMBOL_IMPORT API_VERSION* WINAPI -ImagehlpApiVersion(BOOST_WINAPI_DETAIL_VOID); - -} // extern "C" -#endif - -namespace boost { -namespace winapi { - -#if defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ UNDNAME_COMPLETE_ = UNDNAME_COMPLETE; -const DWORD_ UNDNAME_NO_LEADING_UNDERSCORES_ = UNDNAME_NO_LEADING_UNDERSCORES; -const DWORD_ UNDNAME_NO_MS_KEYWORDS_ = UNDNAME_NO_MS_KEYWORDS; -const DWORD_ UNDNAME_NO_FUNCTION_RETURNS_ = UNDNAME_NO_FUNCTION_RETURNS; -const DWORD_ UNDNAME_NO_ALLOCATION_MODEL_ = UNDNAME_NO_ALLOCATION_MODEL; -const DWORD_ UNDNAME_NO_ALLOCATION_LANGUAGE_ = UNDNAME_NO_ALLOCATION_LANGUAGE; -const DWORD_ UNDNAME_NO_MS_THISTYPE_ = UNDNAME_NO_MS_THISTYPE; -const DWORD_ UNDNAME_NO_CV_THISTYPE_ = UNDNAME_NO_CV_THISTYPE; -const DWORD_ UNDNAME_NO_THISTYPE_ = UNDNAME_NO_THISTYPE; -const DWORD_ UNDNAME_NO_ACCESS_SPECIFIERS_ = UNDNAME_NO_ACCESS_SPECIFIERS; -const DWORD_ UNDNAME_NO_THROW_SIGNATURES_ = UNDNAME_NO_THROW_SIGNATURES; -const DWORD_ UNDNAME_NO_MEMBER_TYPE_ = UNDNAME_NO_MEMBER_TYPE; -const DWORD_ UNDNAME_NO_RETURN_UDT_MODEL_ = UNDNAME_NO_RETURN_UDT_MODEL; -const DWORD_ UNDNAME_32_BIT_DECODE_ = UNDNAME_32_BIT_DECODE; -const DWORD_ UNDNAME_NAME_ONLY_ = UNDNAME_NAME_ONLY; -const DWORD_ UNDNAME_NO_ARGUMENTS_ = UNDNAME_NO_ARGUMENTS; -const DWORD_ UNDNAME_NO_SPECIAL_SYMS_ = UNDNAME_NO_SPECIAL_SYMS; - -#else // defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ UNDNAME_COMPLETE_ = 0x00000000; -const DWORD_ UNDNAME_NO_LEADING_UNDERSCORES_ = 0x00000001; -const DWORD_ UNDNAME_NO_MS_KEYWORDS_ = 0x00000002; -const DWORD_ UNDNAME_NO_FUNCTION_RETURNS_ = 0x00000004; -const DWORD_ UNDNAME_NO_ALLOCATION_MODEL_ = 0x00000008; -const DWORD_ UNDNAME_NO_ALLOCATION_LANGUAGE_ = 0x00000010; -const DWORD_ UNDNAME_NO_MS_THISTYPE_ = 0x00000020; -const DWORD_ UNDNAME_NO_CV_THISTYPE_ = 0x00000040; -const DWORD_ UNDNAME_NO_THISTYPE_ = 0x00000060; -const DWORD_ UNDNAME_NO_ACCESS_SPECIFIERS_ = 0x00000080; -const DWORD_ UNDNAME_NO_THROW_SIGNATURES_ = 0x00000100; -const DWORD_ UNDNAME_NO_MEMBER_TYPE_ = 0x00000200; -const DWORD_ UNDNAME_NO_RETURN_UDT_MODEL_ = 0x00000400; -const DWORD_ UNDNAME_32_BIT_DECODE_ = 0x00000800; -const DWORD_ UNDNAME_NAME_ONLY_ = 0x00001000; -const DWORD_ UNDNAME_NO_ARGUMENTS_ = 0x00002000; -const DWORD_ UNDNAME_NO_SPECIAL_SYMS_ = 0x00004000; - -#endif // defined( BOOST_USE_WINDOWS_H ) - -using ::UnDecorateSymbolName; -#if defined( BOOST_WINAPI_DETAIL_HAS_UNDECORATESYMBOLNAMEW ) -using ::UnDecorateSymbolNameW; -#endif - -typedef struct BOOST_MAY_ALIAS API_VERSION { - USHORT_ MajorVersion; - USHORT_ MinorVersion; - USHORT_ Revision; - USHORT_ Reserved; -} API_VERSION_, *LPAPI_VERSION_; - -BOOST_FORCEINLINE LPAPI_VERSION_ ImagehlpApiVersion() -{ - return reinterpret_cast<LPAPI_VERSION_>(::ImagehlpApiVersion()); -} - -BOOST_FORCEINLINE DWORD_ undecorate_symbol_name( - LPCSTR_ DecoratedName, - LPSTR_ UnDecoratedName, - DWORD_ UndecoratedLength, - DWORD_ Flags) -{ - return ::UnDecorateSymbolName( - DecoratedName, - UnDecoratedName, - UndecoratedLength, - Flags); -} - -#if defined( BOOST_WINAPI_DETAIL_HAS_UNDECORATESYMBOLNAMEW ) - -BOOST_FORCEINLINE DWORD_ undecorate_symbol_name( - LPCWSTR_ DecoratedName, - LPWSTR_ UnDecoratedName, - DWORD_ UndecoratedLength, - DWORD_ Flags) -{ - return ::UnDecorateSymbolNameW( - DecoratedName, - UnDecoratedName, - UndecoratedLength, - Flags); -} - -#endif - -} -} - -#endif // BOOST_WINAPI_PARTITION_DESKTOP -#endif // BOOST_WINAPI_DBGHELP_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/debugapi.hpp b/contrib/restricted/boost/boost/winapi/debugapi.hpp deleted file mode 100644 index 8aac40dfa9..0000000000 --- a/contrib/restricted/boost/boost/winapi/debugapi.hpp +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2017 Vinnie Falco - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_DEBUGAPI_HPP_INCLUDED_ -#define BOOST_WINAPI_DEBUGAPI_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> -#include <boost/winapi/config.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { - -#if (BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4) -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -IsDebuggerPresent(BOOST_WINAPI_DETAIL_VOID); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::VOID_ WINAPI -OutputDebugStringA(boost::winapi::LPCSTR_); - -BOOST_SYMBOL_IMPORT boost::winapi::VOID_ WINAPI -OutputDebugStringW(boost::winapi::LPCWSTR_); - -} // extern "C" -#endif - -namespace boost { -namespace winapi { - -#if (BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4) -using ::IsDebuggerPresent; -#endif - -using ::OutputDebugStringA; -using ::OutputDebugStringW; - -BOOST_FORCEINLINE void output_debug_string(char const* s) -{ - ::OutputDebugStringA(s); -} - -BOOST_FORCEINLINE void output_debug_string(wchar_t const* s) -{ - ::OutputDebugStringW(s); -} - -} -} - -#endif // BOOST_WINAPI_DEBUGAPI_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/detail/cast_ptr.hpp b/contrib/restricted/boost/boost/winapi/detail/cast_ptr.hpp deleted file mode 100644 index 0d991d500a..0000000000 --- a/contrib/restricted/boost/boost/winapi/detail/cast_ptr.hpp +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2015 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_DETAIL_CAST_PTR_HPP_INCLUDED_ -#define BOOST_WINAPI_DETAIL_CAST_PTR_HPP_INCLUDED_ - -#include <boost/winapi/config.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -namespace boost { -namespace winapi { -namespace detail { - -//! This class is used to automatically cast pointers to the type used in the current Windows SDK function declarations -class cast_ptr -{ -private: - const void* m_p; - -public: - explicit BOOST_FORCEINLINE cast_ptr(const void* p) BOOST_NOEXCEPT : m_p(p) {} - template< typename T > - BOOST_FORCEINLINE operator T* () const BOOST_NOEXCEPT { return (T*)m_p; } -}; - -} -} -} - -#endif // BOOST_WINAPI_DETAIL_CAST_PTR_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/directory_management.hpp b/contrib/restricted/boost/boost/winapi/directory_management.hpp deleted file mode 100644 index 8801b249fb..0000000000 --- a/contrib/restricted/boost/boost/winapi/directory_management.hpp +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright 2010 Vicente J. Botet Escriba - * Copyright 2015 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_DIRECTORY_MANAGEMENT_HPP_INCLUDED_ -#define BOOST_WINAPI_DIRECTORY_MANAGEMENT_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> -#include <boost/winapi/get_system_directory.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI - CreateDirectoryA(boost::winapi::LPCSTR_, ::_SECURITY_ATTRIBUTES*); -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_ WINAPI - GetTempPathA(boost::winapi::DWORD_ length, boost::winapi::LPSTR_ buffer); -#endif -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI - RemoveDirectoryA(boost::winapi::LPCSTR_); -#endif -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI - CreateDirectoryW(boost::winapi::LPCWSTR_, ::_SECURITY_ATTRIBUTES*); -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_ WINAPI - GetTempPathW(boost::winapi::DWORD_ length, boost::winapi::LPWSTR_ buffer); -#endif -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI - RemoveDirectoryW(boost::winapi::LPCWSTR_); -} // extern "C" -#endif - -namespace boost { -namespace winapi { - -#if !defined( BOOST_NO_ANSI_APIS ) -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -using ::GetTempPathA; -#endif -using ::RemoveDirectoryA; -#endif -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -using ::GetTempPathW; -#endif -using ::RemoveDirectoryW; - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE BOOL_ CreateDirectoryA(LPCSTR_ pPathName, PSECURITY_ATTRIBUTES_ pSecurityAttributes) -{ - return ::CreateDirectoryA(pPathName, reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(pSecurityAttributes)); -} -#endif - -BOOST_FORCEINLINE BOOL_ CreateDirectoryW(LPCWSTR_ pPathName, PSECURITY_ATTRIBUTES_ pSecurityAttributes) -{ - return ::CreateDirectoryW(pPathName, reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(pSecurityAttributes)); -} - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE BOOL_ create_directory(LPCSTR_ pPathName, PSECURITY_ATTRIBUTES_ pSecurityAttributes) -{ - return ::CreateDirectoryA(pPathName, reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(pSecurityAttributes)); -} -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -BOOST_FORCEINLINE DWORD_ get_temp_path(DWORD_ length, LPSTR_ buffer) -{ - return ::GetTempPathA(length, buffer); -} -#endif -BOOST_FORCEINLINE BOOL_ remove_directory(LPCSTR_ pPathName) -{ - return ::RemoveDirectoryA(pPathName); -} -#endif - -BOOST_FORCEINLINE BOOL_ create_directory(LPCWSTR_ pPathName, PSECURITY_ATTRIBUTES_ pSecurityAttributes) -{ - return ::CreateDirectoryW(pPathName, reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(pSecurityAttributes)); -} -#if BOOST_WINAPI_PARTITION_APP_SYSTEM -BOOST_FORCEINLINE DWORD_ get_temp_path(DWORD_ length, LPWSTR_ buffer) -{ - return ::GetTempPathW(length, buffer); -} -#endif -BOOST_FORCEINLINE BOOL_ remove_directory(LPCWSTR_ pPathName) -{ - return ::RemoveDirectoryW(pPathName); -} - -} // namespace winapi -} // namespace boost - -#endif // BOOST_WINAPI_DIRECTORY_MANAGEMENT_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/environment.hpp b/contrib/restricted/boost/boost/winapi/environment.hpp deleted file mode 100644 index 45145781fc..0000000000 --- a/contrib/restricted/boost/boost/winapi/environment.hpp +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright 2016 Klemens D. Morgenstern - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_ENVIRONMENT_HPP_INCLUDED_ -#define BOOST_WINAPI_ENVIRONMENT_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_SYMBOL_IMPORT boost::winapi::LPSTR_ WINAPI GetEnvironmentStringsA(); -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI FreeEnvironmentStringsA(boost::winapi::LPSTR_); - -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_ WINAPI GetEnvironmentVariableA( - boost::winapi::LPCSTR_ lpName, - boost::winapi::LPSTR_ lpBuffer, - boost::winapi::DWORD_ nSize -); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI SetEnvironmentVariableA( - boost::winapi::LPCSTR_ lpName, - boost::winapi::LPCSTR_ lpValue -); -#endif // !defined( BOOST_NO_ANSI_APIS ) - -BOOST_SYMBOL_IMPORT boost::winapi::LPWSTR_ WINAPI GetEnvironmentStringsW(); -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI FreeEnvironmentStringsW(boost::winapi::LPWSTR_); - -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_ WINAPI GetEnvironmentVariableW( - boost::winapi::LPCWSTR_ lpName, - boost::winapi::LPWSTR_ lpBuffer, - boost::winapi::DWORD_ nSize -); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI SetEnvironmentVariableW( - boost::winapi::LPCWSTR_ lpName, - boost::winapi::LPCWSTR_ lpValue -); -} // extern "C" -#endif // !defined( BOOST_USE_WINDOWS_H ) - -namespace boost { -namespace winapi { - -#if !defined( BOOST_NO_ANSI_APIS ) -using ::GetEnvironmentStringsA; -using ::FreeEnvironmentStringsA; -using ::GetEnvironmentVariableA; -using ::SetEnvironmentVariableA; -#endif // !defined( BOOST_NO_ANSI_APIS ) - -using ::GetEnvironmentStringsW; -using ::FreeEnvironmentStringsW; -using ::GetEnvironmentVariableW; -using ::SetEnvironmentVariableW; - -template< typename Char > -Char* get_environment_strings(); - -#if !defined( BOOST_NO_ANSI_APIS ) - -template< > -BOOST_FORCEINLINE char* get_environment_strings< char >() -{ - return GetEnvironmentStringsA(); -} - -BOOST_FORCEINLINE BOOL_ free_environment_strings(LPSTR_ p) -{ - return FreeEnvironmentStringsA(p); -} - -BOOST_FORCEINLINE DWORD_ get_environment_variable(LPCSTR_ name, LPSTR_ buffer, DWORD_ size) -{ - return GetEnvironmentVariableA(name, buffer, size); -} - -BOOST_FORCEINLINE BOOL_ set_environment_variable(LPCSTR_ name, LPCSTR_ value) -{ - return SetEnvironmentVariableA(name, value); -} - -#endif // !defined( BOOST_NO_ANSI_APIS ) - -template< > -BOOST_FORCEINLINE wchar_t* get_environment_strings< wchar_t >() -{ - return GetEnvironmentStringsW(); -} - -BOOST_FORCEINLINE BOOL_ free_environment_strings(LPWSTR_ p) -{ - return FreeEnvironmentStringsW(p); -} - -BOOST_FORCEINLINE DWORD_ get_environment_variable(LPCWSTR_ name, LPWSTR_ buffer, DWORD_ size) -{ - return GetEnvironmentVariableW(name, buffer, size); -} - -BOOST_FORCEINLINE BOOL_ set_environment_variable(LPCWSTR_ name, LPCWSTR_ value) -{ - return SetEnvironmentVariableW(name, value); -} - -} // namespace winapi -} // namespace boost - -#endif // BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM -#endif // BOOST_WINAPI_ENVIRONMENT_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/file_mapping.hpp b/contrib/restricted/boost/boost/winapi/file_mapping.hpp deleted file mode 100644 index 716529ad15..0000000000 --- a/contrib/restricted/boost/boost/winapi/file_mapping.hpp +++ /dev/null @@ -1,259 +0,0 @@ -/* - * Copyright 2010 Vicente J. Botet Escriba - * Copyright 2015 Andrey Semashev - * Copyright 2016 Jorge Lodos - * Copyright 2017 James E. King, III - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_FILE_MAPPING_HPP_INCLUDED_ -#define BOOST_WINAPI_FILE_MAPPING_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -/* - * UWP: - * API SDK 8 SDK 10 - * CreateFileMapping DESKTOP - DESKTOP | SYSTEM - * FlushViewOfFile APP - APP | SYSTEM - * MapViewOfFile DESKTOP - DESKTOP | SYSTEM - * MapViewOfFileEx DESKTOP - DESKTOP | SYSTEM - * OpenFileMapping DESKTOP - DESKTOP | SYSTEM - * UnmapViewOfFile APP - APP | SYSTEM - */ - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { - -#if BOOST_WINAPI_PARTITION_DESKTOP -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -CreateFileMappingA( - boost::winapi::HANDLE_ hFile, - ::_SECURITY_ATTRIBUTES* lpFileMappingAttributes, - boost::winapi::DWORD_ flProtect, - boost::winapi::DWORD_ dwMaximumSizeHigh, - boost::winapi::DWORD_ dwMaximumSizeLow, - boost::winapi::LPCSTR_ lpName); - -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -OpenFileMappingA( - boost::winapi::DWORD_ dwDesiredAccess, - boost::winapi::BOOL_ bInheritHandle, - boost::winapi::LPCSTR_ lpName); -#endif // !defined( BOOST_NO_ANSI_APIS ) -#endif // BOOST_WINAPI_PARTITION_DESKTOP - -#if BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -CreateFileMappingW( - boost::winapi::HANDLE_ hFile, - ::_SECURITY_ATTRIBUTES* lpFileMappingAttributes, - boost::winapi::DWORD_ flProtect, - boost::winapi::DWORD_ dwMaximumSizeHigh, - boost::winapi::DWORD_ dwMaximumSizeLow, - boost::winapi::LPCWSTR_ lpName); - -BOOST_SYMBOL_IMPORT boost::winapi::LPVOID_ WINAPI -MapViewOfFile( - boost::winapi::HANDLE_ hFileMappingObject, - boost::winapi::DWORD_ dwDesiredAccess, - boost::winapi::DWORD_ dwFileOffsetHigh, - boost::winapi::DWORD_ dwFileOffsetLow, - boost::winapi::SIZE_T_ dwNumberOfBytesToMap); - -BOOST_SYMBOL_IMPORT boost::winapi::LPVOID_ WINAPI -MapViewOfFileEx( - boost::winapi::HANDLE_ hFileMappingObject, - boost::winapi::DWORD_ dwDesiredAccess, - boost::winapi::DWORD_ dwFileOffsetHigh, - boost::winapi::DWORD_ dwFileOffsetLow, - boost::winapi::SIZE_T_ dwNumberOfBytesToMap, - boost::winapi::LPVOID_ lpBaseAddress); - -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -OpenFileMappingW( - boost::winapi::DWORD_ dwDesiredAccess, - boost::winapi::BOOL_ bInheritHandle, - boost::winapi::LPCWSTR_ lpName); -#endif // BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM - -#if BOOST_WINAPI_PARTITION_APP || BOOST_WINAPI_PARTITION_SYSTEM -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -FlushViewOfFile( - boost::winapi::LPCVOID_ lpBaseAddress, - boost::winapi::SIZE_T_ dwNumberOfBytesToFlush); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -UnmapViewOfFile(boost::winapi::LPCVOID_ lpBaseAddress); -#endif // BOOST_WINAPI_PARTITION_APP || BOOST_WINAPI_PARTITION_SYSTEM - -} // extern "C" -#endif // !defined( BOOST_USE_WINDOWS_H ) - -namespace boost { -namespace winapi { - -#if defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ SEC_FILE_ = SEC_FILE; -const DWORD_ SEC_IMAGE_ = SEC_IMAGE; -const DWORD_ SEC_RESERVE_ = SEC_RESERVE; -const DWORD_ SEC_COMMIT_ = SEC_COMMIT; -const DWORD_ SEC_NOCACHE_ = SEC_NOCACHE; - -// These permission flags are undocumented and some of them are equivalent to the FILE_MAP_* flags. -// SECTION_QUERY enables NtQuerySection. -// http://undocumented.ntinternals.net/index.html?page=UserMode%2FUndocumented%20Functions%2FNT%20Objects%2FSection%2FNtQuerySection.html -const DWORD_ SECTION_QUERY_ = SECTION_QUERY; -const DWORD_ SECTION_MAP_WRITE_ = SECTION_MAP_WRITE; -const DWORD_ SECTION_MAP_READ_ = SECTION_MAP_READ; -const DWORD_ SECTION_MAP_EXECUTE_ = SECTION_MAP_EXECUTE; -const DWORD_ SECTION_EXTEND_SIZE_ = SECTION_EXTEND_SIZE; -const DWORD_ SECTION_ALL_ACCESS_ = SECTION_ALL_ACCESS; - -const DWORD_ FILE_MAP_COPY_ = FILE_MAP_COPY; -const DWORD_ FILE_MAP_WRITE_ = FILE_MAP_WRITE; -const DWORD_ FILE_MAP_READ_ = FILE_MAP_READ; -const DWORD_ FILE_MAP_ALL_ACCESS_ = FILE_MAP_ALL_ACCESS; - -#else // defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ SEC_FILE_ = 0x800000; -const DWORD_ SEC_IMAGE_ = 0x1000000; -const DWORD_ SEC_RESERVE_ = 0x4000000; -const DWORD_ SEC_COMMIT_ = 0x8000000; -const DWORD_ SEC_NOCACHE_ = 0x10000000; - -// These permission flags are undocumented and some of them are equivalent to the FILE_MAP_* flags. -// SECTION_QUERY enables NtQuerySection. -// http://undocumented.ntinternals.net/index.html?page=UserMode%2FUndocumented%20Functions%2FNT%20Objects%2FSection%2FNtQuerySection.html -const DWORD_ SECTION_QUERY_ = 0x00000001; -const DWORD_ SECTION_MAP_WRITE_ = 0x00000002; -const DWORD_ SECTION_MAP_READ_ = 0x00000004; -const DWORD_ SECTION_MAP_EXECUTE_ = 0x00000008; -const DWORD_ SECTION_EXTEND_SIZE_ = 0x00000010; -const DWORD_ SECTION_ALL_ACCESS_ = 0x000F001F; // STANDARD_RIGHTS_REQUIRED | SECTION_* - -const DWORD_ FILE_MAP_COPY_ = SECTION_QUERY_; -const DWORD_ FILE_MAP_WRITE_ = SECTION_MAP_WRITE_; -const DWORD_ FILE_MAP_READ_ = SECTION_MAP_READ_; -const DWORD_ FILE_MAP_ALL_ACCESS_ = SECTION_ALL_ACCESS_; - -#endif // defined( BOOST_USE_WINDOWS_H ) - -// These constants are not defined in Windows SDK up until the one shipped with MSVC 8 and MinGW (as of 2016-02-14) -const DWORD_ SECTION_MAP_EXECUTE_EXPLICIT_ = 0x00000020; // not included in SECTION_ALL_ACCESS -const DWORD_ FILE_MAP_EXECUTE_ = SECTION_MAP_EXECUTE_EXPLICIT_; // not included in FILE_MAP_ALL_ACCESS - -// These constants are not defined in Windows SDK up until 6.0A and MinGW (as of 2016-02-14) -const DWORD_ SEC_PROTECTED_IMAGE_ = 0x2000000; -const DWORD_ SEC_WRITECOMBINE_ = 0x40000000; -const DWORD_ SEC_LARGE_PAGES_ = 0x80000000; -const DWORD_ SEC_IMAGE_NO_EXECUTE_ = (SEC_IMAGE_ | SEC_NOCACHE_); - -#if BOOST_WINAPI_PARTITION_DESKTOP -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE HANDLE_ CreateFileMappingA( - HANDLE_ hFile, - SECURITY_ATTRIBUTES_* lpFileMappingAttributes, - DWORD_ flProtect, - DWORD_ dwMaximumSizeHigh, - DWORD_ dwMaximumSizeLow, - LPCSTR_ lpName) -{ - return ::CreateFileMappingA( - hFile, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpFileMappingAttributes), - flProtect, - dwMaximumSizeHigh, - dwMaximumSizeLow, - lpName); -} - -BOOST_FORCEINLINE HANDLE_ create_file_mapping( - HANDLE_ hFile, - SECURITY_ATTRIBUTES_* lpFileMappingAttributes, - DWORD_ flProtect, - DWORD_ dwMaximumSizeHigh, - DWORD_ dwMaximumSizeLow, - LPCSTR_ lpName) -{ - return ::CreateFileMappingA( - hFile, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpFileMappingAttributes), - flProtect, - dwMaximumSizeHigh, - dwMaximumSizeLow, - lpName); -} - -using ::OpenFileMappingA; - -BOOST_FORCEINLINE HANDLE_ open_file_mapping(DWORD_ dwDesiredAccess, BOOL_ bInheritHandle, LPCSTR_ lpName) -{ - return ::OpenFileMappingA(dwDesiredAccess, bInheritHandle, lpName); -} -#endif -#endif // BOOST_WINAPI_PARTITION_DESKTOP - -#if BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM -BOOST_FORCEINLINE HANDLE_ CreateFileMappingW( - HANDLE_ hFile, - SECURITY_ATTRIBUTES_* lpFileMappingAttributes, - DWORD_ flProtect, - DWORD_ dwMaximumSizeHigh, - DWORD_ dwMaximumSizeLow, - LPCWSTR_ lpName) -{ - return ::CreateFileMappingW( - hFile, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpFileMappingAttributes), - flProtect, - dwMaximumSizeHigh, - dwMaximumSizeLow, - lpName); -} - -BOOST_FORCEINLINE HANDLE_ create_file_mapping( - HANDLE_ hFile, - SECURITY_ATTRIBUTES_* lpFileMappingAttributes, - DWORD_ flProtect, - DWORD_ dwMaximumSizeHigh, - DWORD_ dwMaximumSizeLow, - LPCWSTR_ lpName) -{ - return ::CreateFileMappingW( - hFile, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpFileMappingAttributes), - flProtect, - dwMaximumSizeHigh, - dwMaximumSizeLow, - lpName); -} - -using ::MapViewOfFile; -using ::MapViewOfFileEx; -using ::OpenFileMappingW; - -BOOST_FORCEINLINE HANDLE_ open_file_mapping(DWORD_ dwDesiredAccess, BOOL_ bInheritHandle, LPCWSTR_ lpName) -{ - return ::OpenFileMappingW(dwDesiredAccess, bInheritHandle, lpName); -} -#endif // BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM - -#if BOOST_WINAPI_PARTITION_APP || BOOST_WINAPI_PARTITION_SYSTEM -using ::FlushViewOfFile; -using ::UnmapViewOfFile; -#endif // BOOST_WINAPI_PARTITION_APP || BOOST_WINAPI_PARTITION_SYSTEM - -} -} - -#endif // BOOST_WINAPI_FILE_MAPPING_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/get_system_directory.hpp b/contrib/restricted/boost/boost/winapi/get_system_directory.hpp deleted file mode 100644 index 8fca5cc39b..0000000000 --- a/contrib/restricted/boost/boost/winapi/get_system_directory.hpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2016 Klemens D. Morgenstern - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_GET_SYSTEM_DIRECTORY_HPP_INCLUDED_ -#define BOOST_WINAPI_GET_SYSTEM_DIRECTORY_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_SYMBOL_IMPORT boost::winapi::UINT_ WINAPI -GetSystemDirectoryA( - boost::winapi::LPSTR_ lpBuffer, - boost::winapi::UINT_ uSize); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::UINT_ WINAPI -GetSystemDirectoryW( - boost::winapi::LPWSTR_ lpBuffer, - boost::winapi::UINT_ uSize); -} // extern "C" -#endif - -namespace boost { -namespace winapi { - -#if !defined( BOOST_NO_ANSI_APIS ) -using ::GetSystemDirectoryA; -#endif -using ::GetSystemDirectoryW; - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE UINT_ get_system_directory(LPSTR_ lpBuffer, UINT_ uSize) -{ - return ::GetSystemDirectoryA(lpBuffer, uSize); -} -#endif - -BOOST_FORCEINLINE UINT_ get_system_directory(LPWSTR_ lpBuffer, UINT_ uSize) -{ - return ::GetSystemDirectoryW(lpBuffer, uSize); -} - -} -} - -#endif // BOOST_WINAPI_PARTITION_DESKTOP - -#endif // BOOST_WINAPI_GET_SYSTEM_DIRECTORY_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/handle_info.hpp b/contrib/restricted/boost/boost/winapi/handle_info.hpp deleted file mode 100644 index dd6734888b..0000000000 --- a/contrib/restricted/boost/boost/winapi/handle_info.hpp +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2016 Klemens D. Morgenstern - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_HANDLE_INFO_HPP_INCLUDED_ -#define BOOST_WINAPI_HANDLE_INFO_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -GetHandleInformation( - boost::winapi::HANDLE_ hObject, - boost::winapi::LPDWORD_ lpdwFlags); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -SetHandleInformation( - boost::winapi::HANDLE_ hObject, - boost::winapi::DWORD_ dwMask, - boost::winapi::DWORD_ dwFlags); - -} // extern "C" -#endif - -namespace boost { -namespace winapi { - -using ::GetHandleInformation; -using ::SetHandleInformation; - -#if defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ HANDLE_FLAG_INHERIT_ = HANDLE_FLAG_INHERIT; -const DWORD_ HANDLE_FLAG_PROTECT_FROM_CLOSE_ = HANDLE_FLAG_PROTECT_FROM_CLOSE; - -#else - -const DWORD_ HANDLE_FLAG_INHERIT_ = 0x1; -const DWORD_ HANDLE_FLAG_PROTECT_FROM_CLOSE_ = 0x2; - -#endif - -} -} - -#endif // BOOST_WINAPI_PARTITION_DESKTOP - -#endif // BOOST_WINAPI_HANDLE_INFO_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/init_once.hpp b/contrib/restricted/boost/boost/winapi/init_once.hpp deleted file mode 100644 index d9e2549ac3..0000000000 --- a/contrib/restricted/boost/boost/winapi/init_once.hpp +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2010 Vicente J. Botet Escriba - * Copyright 2015 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_INIT_ONCE_HPP_INCLUDED_ -#define BOOST_WINAPI_INIT_ONCE_HPP_INCLUDED_ - -#include <boost/winapi/config.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 - -#include <boost/winapi/basic_types.hpp> - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { -#if defined( BOOST_WINAPI_IS_MINGW_W64 ) -struct _RTL_RUN_ONCE; -#else -union _RTL_RUN_ONCE; -#endif - -typedef boost::winapi::BOOL_ -(WINAPI *PINIT_ONCE_FN) ( - ::_RTL_RUN_ONCE* InitOnce, - boost::winapi::PVOID_ Parameter, - boost::winapi::PVOID_ *Context); - -BOOST_SYMBOL_IMPORT boost::winapi::VOID_ WINAPI -InitOnceInitialize(::_RTL_RUN_ONCE* InitOnce); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -InitOnceExecuteOnce( - ::_RTL_RUN_ONCE* InitOnce, - ::PINIT_ONCE_FN InitFn, - boost::winapi::PVOID_ Parameter, - boost::winapi::LPVOID_ *Context); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -InitOnceBeginInitialize( - ::_RTL_RUN_ONCE* lpInitOnce, - boost::winapi::DWORD_ dwFlags, - boost::winapi::PBOOL_ fPending, - boost::winapi::LPVOID_ *lpContext); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -InitOnceComplete( - ::_RTL_RUN_ONCE* lpInitOnce, - boost::winapi::DWORD_ dwFlags, - boost::winapi::LPVOID_ lpContext); -} -#endif - -namespace boost { -namespace winapi { - -typedef union BOOST_MAY_ALIAS _RTL_RUN_ONCE { - PVOID_ Ptr; -} INIT_ONCE_, *PINIT_ONCE_, *LPINIT_ONCE_; - -extern "C" { -typedef BOOL_ (WINAPI *PINIT_ONCE_FN_) (PINIT_ONCE_ lpInitOnce, PVOID_ Parameter, PVOID_ *Context); -} - -BOOST_FORCEINLINE VOID_ InitOnceInitialize(PINIT_ONCE_ lpInitOnce) -{ - ::InitOnceInitialize(reinterpret_cast< ::_RTL_RUN_ONCE* >(lpInitOnce)); -} - -BOOST_FORCEINLINE BOOL_ InitOnceExecuteOnce(PINIT_ONCE_ lpInitOnce, PINIT_ONCE_FN_ InitFn, PVOID_ Parameter, LPVOID_ *Context) -{ - return ::InitOnceExecuteOnce(reinterpret_cast< ::_RTL_RUN_ONCE* >(lpInitOnce), reinterpret_cast< ::PINIT_ONCE_FN >(InitFn), Parameter, Context); -} - -BOOST_FORCEINLINE BOOL_ InitOnceBeginInitialize(PINIT_ONCE_ lpInitOnce, DWORD_ dwFlags, PBOOL_ fPending, LPVOID_ *lpContext) -{ - return ::InitOnceBeginInitialize(reinterpret_cast< ::_RTL_RUN_ONCE* >(lpInitOnce), dwFlags, fPending, lpContext); -} - -BOOST_FORCEINLINE BOOL_ InitOnceComplete(PINIT_ONCE_ lpInitOnce, DWORD_ dwFlags, LPVOID_ lpContext) -{ - return ::InitOnceComplete(reinterpret_cast< ::_RTL_RUN_ONCE* >(lpInitOnce), dwFlags, lpContext); -} - -#if defined( BOOST_USE_WINDOWS_H ) - -#define BOOST_WINAPI_INIT_ONCE_STATIC_INIT INIT_ONCE_STATIC_INIT -const DWORD_ INIT_ONCE_ASYNC_ = INIT_ONCE_ASYNC; -const DWORD_ INIT_ONCE_CHECK_ONLY_ = INIT_ONCE_CHECK_ONLY; -const DWORD_ INIT_ONCE_INIT_FAILED_ = INIT_ONCE_INIT_FAILED; -const DWORD_ INIT_ONCE_CTX_RESERVED_BITS_ = INIT_ONCE_CTX_RESERVED_BITS; - -#else // defined( BOOST_USE_WINDOWS_H ) - -#define BOOST_WINAPI_INIT_ONCE_STATIC_INIT {0} -const DWORD_ INIT_ONCE_ASYNC_ = 0x00000002UL; -const DWORD_ INIT_ONCE_CHECK_ONLY_ = 0x00000001UL; -const DWORD_ INIT_ONCE_INIT_FAILED_ = 0x00000004UL; -const DWORD_ INIT_ONCE_CTX_RESERVED_BITS_ = 2; - -#endif // defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ init_once_async = INIT_ONCE_ASYNC_; -const DWORD_ init_once_check_only = INIT_ONCE_CHECK_ONLY_; -const DWORD_ init_once_init_failed = INIT_ONCE_INIT_FAILED_; -const DWORD_ init_once_ctx_reserved_bits = INIT_ONCE_CTX_RESERVED_BITS_; - -} -} - -#endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 - -#endif // BOOST_WINAPI_INIT_ONCE_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/jobs.hpp b/contrib/restricted/boost/boost/winapi/jobs.hpp deleted file mode 100644 index 3a30c5c3e7..0000000000 --- a/contrib/restricted/boost/boost/winapi/jobs.hpp +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright 2016 Klemens D. Morgenstern - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_JOBS_HPP_INCLUDED_ -#define BOOST_WINAPI_JOBS_HPP_INCLUDED_ - -#include <boost/winapi/config.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN2K - -#include <boost/winapi/basic_types.hpp> -#include <boost/winapi/access_rights.hpp> - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { -#if !defined( BOOST_NO_ANSI_APIS ) -#if BOOST_WINAPI_PARTITION_DESKTOP -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI CreateJobObjectA( - ::_SECURITY_ATTRIBUTES* lpJobAttributes, - boost::winapi::LPCSTR_ lpName); -#endif -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI CreateJobObjectW( - ::_SECURITY_ATTRIBUTES* lpJobAttributes, - boost::winapi::LPCWSTR_ lpName); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI AssignProcessToJobObject( - boost::winapi::HANDLE_ hJob, - boost::winapi::HANDLE_ hProcess); - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WINXP -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI IsProcessInJob( - boost::winapi::HANDLE_ ProcessHandle, - boost::winapi::HANDLE_ JobHandle, - boost::winapi::PBOOL_ Result); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI TerminateJobObject( - boost::winapi::HANDLE_ hJob, - boost::winapi::UINT_ uExitCode); -#endif // BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM -} // extern "C" -#endif // !defined( BOOST_USE_WINDOWS_H ) - -// MinGW does not declare OpenJobObjectA/W in headers but exports them from libraries -#if !defined( BOOST_USE_WINDOWS_H ) || defined( BOOST_WINAPI_IS_MINGW ) -extern "C" { -#if !defined( BOOST_NO_ANSI_APIS ) -#if BOOST_WINAPI_PARTITION_DESKTOP -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI OpenJobObjectA( - boost::winapi::DWORD_ dwDesiredAccess, - boost::winapi::BOOL_ bInheritHandles, - boost::winapi::LPCSTR_ lpName); -#endif -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI OpenJobObjectW( - boost::winapi::DWORD_ dwDesiredAccess, - boost::winapi::BOOL_ bInheritHandles, - boost::winapi::LPCWSTR_ lpName); -#endif -} // extern "C" -#endif // !defined( BOOST_USE_WINDOWS_H ) || defined( BOOST_WINAPI_IS_MINGW ) - -namespace boost { -namespace winapi { - -// MinGW does not define job constants -#if defined( BOOST_USE_WINDOWS_H ) && !defined( BOOST_WINAPI_IS_MINGW ) -const DWORD_ JOB_OBJECT_ASSIGN_PROCESS_ = JOB_OBJECT_ASSIGN_PROCESS; -const DWORD_ JOB_OBJECT_SET_ATTRIBUTES_ = JOB_OBJECT_SET_ATTRIBUTES; -const DWORD_ JOB_OBJECT_QUERY_ = JOB_OBJECT_QUERY; -const DWORD_ JOB_OBJECT_TERMINATE_ = JOB_OBJECT_TERMINATE; -const DWORD_ JOB_OBJECT_SET_SECURITY_ATTRIBUTES_ = JOB_OBJECT_SET_SECURITY_ATTRIBUTES; -const DWORD_ JOB_OBJECT_ALL_ACCESS_ = JOB_OBJECT_ALL_ACCESS; -#else -const DWORD_ JOB_OBJECT_ASSIGN_PROCESS_ = 0x0001; -const DWORD_ JOB_OBJECT_SET_ATTRIBUTES_ = 0x0002; -const DWORD_ JOB_OBJECT_QUERY_ = 0x0004; -const DWORD_ JOB_OBJECT_TERMINATE_ = 0x0008; -const DWORD_ JOB_OBJECT_SET_SECURITY_ATTRIBUTES_ = 0x0010; -const DWORD_ JOB_OBJECT_ALL_ACCESS_ = (STANDARD_RIGHTS_REQUIRED_ | SYNCHRONIZE_ | 0x1F); -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE HANDLE_ CreateJobObjectA(LPSECURITY_ATTRIBUTES_ lpJobAttributes, LPCSTR_ lpName) -{ - return ::CreateJobObjectA(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpJobAttributes), lpName); -} - -BOOST_FORCEINLINE HANDLE_ create_job_object(LPSECURITY_ATTRIBUTES_ lpJobAttributes, LPCSTR_ lpName) -{ - return ::CreateJobObjectA(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpJobAttributes), lpName); -} - -using ::OpenJobObjectA; - -BOOST_FORCEINLINE HANDLE_ open_job_object(DWORD_ dwDesiredAccess, BOOL_ bInheritHandles, LPCSTR_ lpName) -{ - return ::OpenJobObjectA(dwDesiredAccess, bInheritHandles, lpName); -} -#endif // !defined( BOOST_NO_ANSI_APIS ) -#endif // BOOST_WINAPI_PARTITION_DESKTOP - -#if BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM -using ::AssignProcessToJobObject; -BOOST_FORCEINLINE HANDLE_ CreateJobObjectW(LPSECURITY_ATTRIBUTES_ lpJobAttributes, LPCWSTR_ lpName) -{ - return ::CreateJobObjectW(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpJobAttributes), lpName); -} - -BOOST_FORCEINLINE HANDLE_ create_job_object(LPSECURITY_ATTRIBUTES_ lpJobAttributes, LPCWSTR_ lpName) -{ - return ::CreateJobObjectW(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpJobAttributes), lpName); -} - -BOOST_FORCEINLINE HANDLE_ open_job_object(DWORD_ dwDesiredAccess, BOOL_ bInheritHandles, LPCWSTR_ lpName) -{ - return ::OpenJobObjectW(dwDesiredAccess, bInheritHandles, lpName); -} - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WINXP -using ::IsProcessInJob; -#endif - -using ::OpenJobObjectW; -using ::TerminateJobObject; -#endif // BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM - -} // namespace winapi -} // namespace boost - -#endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN2K -#endif // BOOST_WINAPI_JOBS_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/memory.hpp b/contrib/restricted/boost/boost/winapi/memory.hpp deleted file mode 100644 index d23167f21f..0000000000 --- a/contrib/restricted/boost/boost/winapi/memory.hpp +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright 2010 Vicente J. Botet Escriba - * Copyright 2015 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_MEMORY_HPP_INCLUDED_ -#define BOOST_WINAPI_MEMORY_HPP_INCLUDED_ - -#include <boost/winapi/heap_memory.hpp> -#include <boost/winapi/local_memory.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_WINAPI_MEMORY_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/mutex.hpp b/contrib/restricted/boost/boost/winapi/mutex.hpp deleted file mode 100644 index a7e882f31e..0000000000 --- a/contrib/restricted/boost/boost/winapi/mutex.hpp +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Copyright 2010 Vicente J. Botet Escriba - * Copyright 2015, 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_MUTEX_HPP_INCLUDED_ -#define BOOST_WINAPI_MUTEX_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if !defined( BOOST_USE_WINDOWS_H ) && BOOST_WINAPI_PARTITION_APP_SYSTEM -extern "C" { -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -CreateMutexA( - ::_SECURITY_ATTRIBUTES* lpMutexAttributes, - boost::winapi::BOOL_ bInitialOwner, - boost::winapi::LPCSTR_ lpName); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -CreateMutexW( - ::_SECURITY_ATTRIBUTES* lpMutexAttributes, - boost::winapi::BOOL_ bInitialOwner, - boost::winapi::LPCWSTR_ lpName); -} // extern "C" -#endif // !defined( BOOST_USE_WINDOWS_H ) && BOOST_WINAPI_PARTITION_APP_SYSTEM - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { -#if !defined( BOOST_NO_ANSI_APIS ) -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -CreateMutexExA( - ::_SECURITY_ATTRIBUTES* lpMutexAttributes, - boost::winapi::LPCSTR_ lpName, - boost::winapi::DWORD_ dwFlags, - boost::winapi::DWORD_ dwDesiredAccess); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -OpenMutexA( - boost::winapi::DWORD_ dwDesiredAccess, - boost::winapi::BOOL_ bInheritHandle, - boost::winapi::LPCSTR_ lpName); -#endif // !defined( BOOST_NO_ANSI_APIS ) - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -CreateMutexExW( - ::_SECURITY_ATTRIBUTES* lpMutexAttributes, - boost::winapi::LPCWSTR_ lpName, - boost::winapi::DWORD_ dwFlags, - boost::winapi::DWORD_ dwDesiredAccess); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -OpenMutexW( - boost::winapi::DWORD_ dwDesiredAccess, - boost::winapi::BOOL_ bInheritHandle, - boost::winapi::LPCWSTR_ lpName); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -ReleaseMutex(boost::winapi::HANDLE_ hMutex); -} // extern "C" -#endif - -namespace boost { -namespace winapi { - -#if !defined( BOOST_NO_ANSI_APIS ) -using ::OpenMutexA; -#endif -using ::OpenMutexW; -using ::ReleaseMutex; - -#if defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ MUTEX_ALL_ACCESS_ = MUTEX_ALL_ACCESS; -const DWORD_ MUTEX_MODIFY_STATE_ = MUTEX_MODIFY_STATE; -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -const DWORD_ CREATE_MUTEX_INITIAL_OWNER_ = CREATE_MUTEX_INITIAL_OWNER; -#endif - -#else // defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ MUTEX_ALL_ACCESS_ = 0x001F0001; -const DWORD_ MUTEX_MODIFY_STATE_ = 0x00000001; -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -const DWORD_ CREATE_MUTEX_INITIAL_OWNER_ = 0x00000001; -#endif - -#endif // defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ mutex_all_access = MUTEX_ALL_ACCESS_; -const DWORD_ mutex_modify_state = MUTEX_MODIFY_STATE_; -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -const DWORD_ create_mutex_initial_owner = CREATE_MUTEX_INITIAL_OWNER_; -#endif - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE HANDLE_ CreateMutexA(SECURITY_ATTRIBUTES_* lpMutexAttributes, BOOL_ bInitialOwner, LPCSTR_ lpName) -{ -#if !BOOST_WINAPI_PARTITION_APP_SYSTEM && BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 - const DWORD_ flags = bInitialOwner ? create_mutex_initial_owner : 0u; - return ::CreateMutexExA(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpMutexAttributes), lpName, flags, mutex_all_access); -#else - return ::CreateMutexA(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpMutexAttributes), bInitialOwner, lpName); -#endif -} - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -BOOST_FORCEINLINE HANDLE_ CreateMutexExA( - SECURITY_ATTRIBUTES_* lpMutexAttributes, - LPCSTR_ lpName, - DWORD_ dwFlags, - DWORD_ dwDesiredAccess) -{ - return ::CreateMutexExA(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpMutexAttributes), lpName, dwFlags, dwDesiredAccess); -} -#endif -#endif - -BOOST_FORCEINLINE HANDLE_ CreateMutexW(SECURITY_ATTRIBUTES_* lpMutexAttributes, BOOL_ bInitialOwner, LPCWSTR_ lpName) -{ -#if !BOOST_WINAPI_PARTITION_APP_SYSTEM && BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 - const DWORD_ flags = bInitialOwner ? create_mutex_initial_owner : 0u; - return ::CreateMutexExW(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpMutexAttributes), lpName, flags, mutex_all_access); -#else - return ::CreateMutexW(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpMutexAttributes), bInitialOwner, lpName); -#endif -} - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -BOOST_FORCEINLINE HANDLE_ CreateMutexExW( - SECURITY_ATTRIBUTES_* lpMutexAttributes, - LPCWSTR_ lpName, - DWORD_ dwFlags, - DWORD_ dwDesiredAccess) -{ - return ::CreateMutexExW(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpMutexAttributes), lpName, dwFlags, dwDesiredAccess); -} -#endif - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE HANDLE_ create_mutex(SECURITY_ATTRIBUTES_* lpAttributes, BOOL_ bInitialOwner, LPCSTR_ lpName) -{ - return winapi::CreateMutexA(lpAttributes, bInitialOwner, lpName); -} - -BOOST_FORCEINLINE HANDLE_ open_mutex(DWORD_ dwDesiredAccess, BOOL_ bInheritHandle, LPCSTR_ lpName) -{ - return ::OpenMutexA(dwDesiredAccess, bInheritHandle, lpName); -} -#endif - -BOOST_FORCEINLINE HANDLE_ create_mutex(SECURITY_ATTRIBUTES_* lpAttributes, BOOL_ bInitialOwner, LPCWSTR_ lpName) -{ - return winapi::CreateMutexW(lpAttributes, bInitialOwner, lpName); -} - -BOOST_FORCEINLINE HANDLE_ open_mutex(DWORD_ dwDesiredAccess, BOOL_ bInheritHandle, LPCWSTR_ lpName) -{ - return ::OpenMutexW(dwDesiredAccess, bInheritHandle, lpName); -} - -BOOST_FORCEINLINE HANDLE_ create_anonymous_mutex(SECURITY_ATTRIBUTES_* lpAttributes, BOOL_ bInitialOwner) -{ - return winapi::CreateMutexW(lpAttributes, bInitialOwner, 0); -} - -} -} - -#endif // BOOST_WINAPI_MUTEX_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/page_protection_flags.hpp b/contrib/restricted/boost/boost/winapi/page_protection_flags.hpp deleted file mode 100644 index 0edbafd856..0000000000 --- a/contrib/restricted/boost/boost/winapi/page_protection_flags.hpp +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2016 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_PAGE_PROTECTION_FLAGS_HPP_INCLUDED_ -#define BOOST_WINAPI_PAGE_PROTECTION_FLAGS_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -namespace boost { -namespace winapi { - -#if defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ PAGE_NOACCESS_ = PAGE_NOACCESS; -const DWORD_ PAGE_READONLY_ = PAGE_READONLY; -const DWORD_ PAGE_READWRITE_ = PAGE_READWRITE; -const DWORD_ PAGE_WRITECOPY_ = PAGE_WRITECOPY; -const DWORD_ PAGE_GUARD_ = PAGE_GUARD; -const DWORD_ PAGE_NOCACHE_ = PAGE_NOCACHE; -const DWORD_ PAGE_WRITECOMBINE_ = PAGE_WRITECOMBINE; - -#else // defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ PAGE_NOACCESS_ = 0x01; -const DWORD_ PAGE_READONLY_ = 0x02; -const DWORD_ PAGE_READWRITE_ = 0x04; -const DWORD_ PAGE_WRITECOPY_ = 0x08; -const DWORD_ PAGE_GUARD_ = 0x100; -const DWORD_ PAGE_NOCACHE_ = 0x200; -const DWORD_ PAGE_WRITECOMBINE_ = 0x400; - -#endif // defined( BOOST_USE_WINDOWS_H ) - -// The PAGE_EXECUTE flags were put into the DESKTOP UWP partition in Windows SDK 8.0 and 8.1 -// and then moved to be globally available again in SDK 10.0. Due to this, we simply define -// them unconditionally to work around the issue and consider the 8.x SDKs in error. - -const DWORD_ PAGE_EXECUTE_ = 0x10; -const DWORD_ PAGE_EXECUTE_READ_ = 0x20; -const DWORD_ PAGE_EXECUTE_READWRITE_ = 0x40; -const DWORD_ PAGE_EXECUTE_WRITECOPY_ = 0x80; - -} -} - -#endif // BOOST_WINAPI_PAGE_PROTECTION_FLAGS_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/pipes.hpp b/contrib/restricted/boost/boost/winapi/pipes.hpp deleted file mode 100644 index 63e31274e3..0000000000 --- a/contrib/restricted/boost/boost/winapi/pipes.hpp +++ /dev/null @@ -1,318 +0,0 @@ -/* - * Copyright 2016 Klemens D. Morgenstern - * Copyright 2016, 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_PIPES_HPP_INCLUDED_ -#define BOOST_WINAPI_PIPES_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> -#include <boost/winapi/config.hpp> -#include <boost/winapi/overlapped.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP_SYSTEM - -#if !defined( BOOST_USE_WINDOWS_H ) && BOOST_WINAPI_PARTITION_DESKTOP && !defined( BOOST_NO_ANSI_APIS ) -extern "C" { -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI CreateNamedPipeA( - boost::winapi::LPCSTR_ lpName, - boost::winapi::DWORD_ dwOpenMode, - boost::winapi::DWORD_ dwPipeMode, - boost::winapi::DWORD_ nMaxInstances, - boost::winapi::DWORD_ nOutBufferSize, - boost::winapi::DWORD_ nInBufferSize, - boost::winapi::DWORD_ nDefaultTimeOut, - _SECURITY_ATTRIBUTES *lpSecurityAttributes); -} // extern "C" -#endif // !defined( BOOST_USE_WINDOWS_H ) && BOOST_WINAPI_PARTITION_DESKTOP && !defined( BOOST_NO_ANSI_APIS ) - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI ImpersonateNamedPipeClient( - boost::winapi::HANDLE_ hNamedPipe); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI CreatePipe( - boost::winapi::PHANDLE_ hReadPipe, - boost::winapi::PHANDLE_ hWritePipe, - _SECURITY_ATTRIBUTES* lpPipeAttributes, - boost::winapi::DWORD_ nSize); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI ConnectNamedPipe( - boost::winapi::HANDLE_ hNamedPipe, - _OVERLAPPED* lpOverlapped); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI DisconnectNamedPipe( - boost::winapi::HANDLE_ hNamedPipe); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI SetNamedPipeHandleState( - boost::winapi::HANDLE_ hNamedPipe, - boost::winapi::LPDWORD_ lpMode, - boost::winapi::LPDWORD_ lpMaxCollectionCount, - boost::winapi::LPDWORD_ lpCollectDataTimeout); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI PeekNamedPipe( - boost::winapi::HANDLE_ hNamedPipe, - boost::winapi::LPVOID_ lpBuffer, - boost::winapi::DWORD_ nBufferSize, - boost::winapi::LPDWORD_ lpBytesRead, - boost::winapi::LPDWORD_ lpTotalBytesAvail, - boost::winapi::LPDWORD_ lpBytesLeftThisMessage); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI TransactNamedPipe( - boost::winapi::HANDLE_ hNamedPipe, - boost::winapi::LPVOID_ lpInBuffer, - boost::winapi::DWORD_ nInBufferSize, - boost::winapi::LPVOID_ lpOutBuffer, - boost::winapi::DWORD_ nOutBufferSize, - boost::winapi::LPDWORD_ lpBytesRead, - _OVERLAPPED* lpOverlapped); - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI WaitNamedPipeA( - boost::winapi::LPCSTR_ lpNamedPipeName, - boost::winapi::DWORD_ nTimeOut); -#endif // !defined( BOOST_NO_ANSI_APIS ) - -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI CreateNamedPipeW( - boost::winapi::LPCWSTR_ lpName, - boost::winapi::DWORD_ dwOpenMode, - boost::winapi::DWORD_ dwPipeMode, - boost::winapi::DWORD_ nMaxInstances, - boost::winapi::DWORD_ nOutBufferSize, - boost::winapi::DWORD_ nInBufferSize, - boost::winapi::DWORD_ nDefaultTimeOut, - _SECURITY_ATTRIBUTES* lpSecurityAttributes); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI WaitNamedPipeW( - boost::winapi::LPCWSTR_ lpNamedPipeName, - boost::winapi::DWORD_ nTimeOut); - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI GetNamedPipeClientComputerNameA( - boost::winapi::HANDLE_ Pipe, - boost::winapi::LPSTR_ ClientComputerName, - boost::winapi::ULONG_ ClientComputerNameLength); -#endif // !defined( BOOST_NO_ANSI_APIS ) - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI GetNamedPipeClientComputerNameW( - boost::winapi::HANDLE_ Pipe, - boost::winapi::LPWSTR_ ClientComputerName, - boost::winapi::ULONG_ ClientComputerNameLength); -#endif - -} // extern "C" -#endif // !defined( BOOST_USE_WINDOWS_H ) - -namespace boost { -namespace winapi { - -#if defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ PIPE_ACCESS_DUPLEX_ = PIPE_ACCESS_DUPLEX; -const DWORD_ PIPE_ACCESS_INBOUND_ = PIPE_ACCESS_INBOUND; -const DWORD_ PIPE_ACCESS_OUTBOUND_ = PIPE_ACCESS_OUTBOUND; - -const DWORD_ PIPE_TYPE_BYTE_ = PIPE_TYPE_BYTE; -const DWORD_ PIPE_TYPE_MESSAGE_ = PIPE_TYPE_MESSAGE; - -const DWORD_ PIPE_READMODE_BYTE_ = PIPE_READMODE_BYTE; -const DWORD_ PIPE_READMODE_MESSAGE_ = PIPE_READMODE_MESSAGE; - -const DWORD_ PIPE_WAIT_ = PIPE_WAIT; -const DWORD_ PIPE_NOWAIT_ = PIPE_NOWAIT; - -const DWORD_ PIPE_UNLIMITED_INSTANCES_ = PIPE_UNLIMITED_INSTANCES; - -const DWORD_ NMPWAIT_USE_DEFAULT_WAIT_ = NMPWAIT_USE_DEFAULT_WAIT; -const DWORD_ NMPWAIT_NOWAIT_ = NMPWAIT_NOWAIT; -const DWORD_ NMPWAIT_WAIT_FOREVER_ = NMPWAIT_WAIT_FOREVER; - -#else // defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ PIPE_ACCESS_DUPLEX_ = 0x00000003; -const DWORD_ PIPE_ACCESS_INBOUND_ = 0x00000001; -const DWORD_ PIPE_ACCESS_OUTBOUND_ = 0x00000002; - -const DWORD_ PIPE_TYPE_BYTE_ = 0x00000000; -const DWORD_ PIPE_TYPE_MESSAGE_ = 0x00000004; - -const DWORD_ PIPE_READMODE_BYTE_ = 0x00000000; -const DWORD_ PIPE_READMODE_MESSAGE_ = 0x00000002; - -const DWORD_ PIPE_WAIT_ = 0x00000000; -const DWORD_ PIPE_NOWAIT_ = 0x00000001; - -const DWORD_ PIPE_UNLIMITED_INSTANCES_ = 255u; - -const DWORD_ NMPWAIT_USE_DEFAULT_WAIT_ = 0x00000000; -const DWORD_ NMPWAIT_NOWAIT_ = 0x00000001; -const DWORD_ NMPWAIT_WAIT_FOREVER_ = 0xFFFFFFFF; - -#endif // defined( BOOST_USE_WINDOWS_H ) - -// These constants are not defined in Windows SDK prior to 7.0A -const DWORD_ PIPE_ACCEPT_REMOTE_CLIENTS_ = 0x00000000; -const DWORD_ PIPE_REJECT_REMOTE_CLIENTS_ = 0x00000008; - -using ::ImpersonateNamedPipeClient; -using ::DisconnectNamedPipe; -using ::SetNamedPipeHandleState; -using ::PeekNamedPipe; - -#if !defined( BOOST_NO_ANSI_APIS ) -using ::WaitNamedPipeA; -#endif -using ::WaitNamedPipeW; - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -#if !defined( BOOST_NO_ANSI_APIS ) -using ::GetNamedPipeClientComputerNameA; -#endif // !defined( BOOST_NO_ANSI_APIS ) -using ::GetNamedPipeClientComputerNameW; -#endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 - -BOOST_FORCEINLINE BOOL_ CreatePipe(PHANDLE_ hReadPipe, PHANDLE_ hWritePipe, LPSECURITY_ATTRIBUTES_ lpPipeAttributes, DWORD_ nSize) -{ - return ::CreatePipe(hReadPipe, hWritePipe, reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpPipeAttributes), nSize); -} - -BOOST_FORCEINLINE BOOL_ ConnectNamedPipe(HANDLE_ hNamedPipe, LPOVERLAPPED_ lpOverlapped) -{ - return ::ConnectNamedPipe(hNamedPipe, reinterpret_cast< ::_OVERLAPPED* >(lpOverlapped)); -} - -BOOST_FORCEINLINE BOOL_ TransactNamedPipe(HANDLE_ hNamedPipe, LPVOID_ lpInBuffer, DWORD_ nInBufferSize, LPVOID_ lpOutBuffer, DWORD_ nOutBufferSize, LPDWORD_ lpBytesRead, LPOVERLAPPED_ lpOverlapped) -{ - return ::TransactNamedPipe(hNamedPipe, lpInBuffer, nInBufferSize, lpOutBuffer, nOutBufferSize, lpBytesRead, reinterpret_cast< ::_OVERLAPPED* >(lpOverlapped)); -} - - -#if BOOST_WINAPI_PARTITION_DESKTOP && !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE HANDLE_ CreateNamedPipeA( - LPCSTR_ lpName, - DWORD_ dwOpenMode, - DWORD_ dwPipeMode, - DWORD_ nMaxInstances, - DWORD_ nOutBufferSize, - DWORD_ nInBufferSize, - DWORD_ nDefaultTimeOut, - LPSECURITY_ATTRIBUTES_ lpSecurityAttributes) -{ - return ::CreateNamedPipeA( - lpName, - dwOpenMode, - dwPipeMode, - nMaxInstances, - nOutBufferSize, - nInBufferSize, - nDefaultTimeOut, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpSecurityAttributes)); -} - -BOOST_FORCEINLINE HANDLE_ create_named_pipe( - LPCSTR_ lpName, - DWORD_ dwOpenMode, - DWORD_ dwPipeMode, - DWORD_ nMaxInstances, - DWORD_ nOutBufferSize, - DWORD_ nInBufferSize, - DWORD_ nDefaultTimeOut, - LPSECURITY_ATTRIBUTES_ lpSecurityAttributes) -{ - return ::CreateNamedPipeA( - lpName, - dwOpenMode, - dwPipeMode, - nMaxInstances, - nOutBufferSize, - nInBufferSize, - nDefaultTimeOut, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpSecurityAttributes)); -} -#endif // BOOST_WINAPI_PARTITION_DESKTOP && !defined( BOOST_NO_ANSI_APIS ) - -BOOST_FORCEINLINE HANDLE_ CreateNamedPipeW( - LPCWSTR_ lpName, - DWORD_ dwOpenMode, - DWORD_ dwPipeMode, - DWORD_ nMaxInstances, - DWORD_ nOutBufferSize, - DWORD_ nInBufferSize, - DWORD_ nDefaultTimeOut, - LPSECURITY_ATTRIBUTES_ lpSecurityAttributes) -{ - return ::CreateNamedPipeW( - lpName, - dwOpenMode, - dwPipeMode, - nMaxInstances, - nOutBufferSize, - nInBufferSize, - nDefaultTimeOut, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpSecurityAttributes)); -} - -BOOST_FORCEINLINE HANDLE_ create_named_pipe( - LPCWSTR_ lpName, - DWORD_ dwOpenMode, - DWORD_ dwPipeMode, - DWORD_ nMaxInstances, - DWORD_ nOutBufferSize, - DWORD_ nInBufferSize, - DWORD_ nDefaultTimeOut, - LPSECURITY_ATTRIBUTES_ lpSecurityAttributes) -{ - return ::CreateNamedPipeW( - lpName, - dwOpenMode, - dwPipeMode, - nMaxInstances, - nOutBufferSize, - nInBufferSize, - nDefaultTimeOut, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpSecurityAttributes)); -} - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE BOOL_ wait_named_pipe(LPCSTR_ lpNamedPipeName, DWORD_ nTimeOut) -{ - return ::WaitNamedPipeA(lpNamedPipeName, nTimeOut); -} -#endif //BOOST_NO_ANSI_APIS - -BOOST_FORCEINLINE BOOL_ wait_named_pipe(LPCWSTR_ lpNamedPipeName, DWORD_ nTimeOut) -{ - return ::WaitNamedPipeW(lpNamedPipeName, nTimeOut); -} - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE BOOL_ get_named_pipe_client_computer_name(HANDLE_ Pipe, LPSTR_ ClientComputerName, ULONG_ ClientComputerNameLength) -{ - return ::GetNamedPipeClientComputerNameA(Pipe, ClientComputerName, ClientComputerNameLength); -} -#endif // !defined( BOOST_NO_ANSI_APIS ) - -BOOST_FORCEINLINE BOOL_ get_named_pipe_client_computer_name(HANDLE_ Pipe, LPWSTR_ ClientComputerName, ULONG_ ClientComputerNameLength) -{ - return ::GetNamedPipeClientComputerNameW(Pipe, ClientComputerName, ClientComputerNameLength); -} - -#endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 - -} -} - -#endif // BOOST_WINAPI_PARTITION_DESKTOP_SYSTEM - -#endif // BOOST_WINAPI_PIPES_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/priority_class.hpp b/contrib/restricted/boost/boost/winapi/priority_class.hpp deleted file mode 100644 index f1155d000e..0000000000 --- a/contrib/restricted/boost/boost/winapi/priority_class.hpp +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2016 Klemens D. Morgenstern - * Copyright 2016 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_PRIORITY_CLASS_HPP_INCLUDED_ -#define BOOST_WINAPI_PRIORITY_CLASS_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP_SYSTEM - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { - -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_ WINAPI -GetPriorityClass(boost::winapi::HANDLE_ hProcess); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -SetPriorityClass( - boost::winapi::HANDLE_ hProcess, - boost::winapi::DWORD_ dwPriorityClass); - -} // extern "C" -#endif //defined BOOST_WINDOWS_H - -namespace boost { -namespace winapi { - -#if defined(BOOST_USE_WINDOWS_H) - -const DWORD_ NORMAL_PRIORITY_CLASS_ = NORMAL_PRIORITY_CLASS; -const DWORD_ IDLE_PRIORITY_CLASS_ = IDLE_PRIORITY_CLASS; -const DWORD_ HIGH_PRIORITY_CLASS_ = HIGH_PRIORITY_CLASS; -const DWORD_ REALTIME_PRIORITY_CLASS_ = REALTIME_PRIORITY_CLASS; -const DWORD_ BELOW_NORMAL_PRIORITY_CLASS_ = BELOW_NORMAL_PRIORITY_CLASS; -const DWORD_ ABOVE_NORMAL_PRIORITY_CLASS_ = ABOVE_NORMAL_PRIORITY_CLASS; - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -const DWORD_ PROCESS_MODE_BACKGROUND_BEGIN_ = PROCESS_MODE_BACKGROUND_BEGIN; -const DWORD_ PROCESS_MODE_BACKGROUND_END_ = PROCESS_MODE_BACKGROUND_END; -#endif - -#else // defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ NORMAL_PRIORITY_CLASS_ = 0x20; -const DWORD_ IDLE_PRIORITY_CLASS_ = 0x40; -const DWORD_ HIGH_PRIORITY_CLASS_ = 0x80; -const DWORD_ REALTIME_PRIORITY_CLASS_ = 0x100; -const DWORD_ BELOW_NORMAL_PRIORITY_CLASS_ = 0x4000; -const DWORD_ ABOVE_NORMAL_PRIORITY_CLASS_ = 0x8000; - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -const DWORD_ PROCESS_MODE_BACKGROUND_BEGIN_ = 0x100000; -const DWORD_ PROCESS_MODE_BACKGROUND_END_ = 0x200000; -#endif - -#endif // defined( BOOST_USE_WINDOWS_H ) - -using ::GetPriorityClass; -using ::SetPriorityClass; - -} -} - -#endif // BOOST_WINAPI_PARTITION_DESKTOP_SYSTEM - -#endif // BOOST_WINAPI_PRIORITY_CLASS_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/process.hpp b/contrib/restricted/boost/boost/winapi/process.hpp deleted file mode 100644 index 6127c29418..0000000000 --- a/contrib/restricted/boost/boost/winapi/process.hpp +++ /dev/null @@ -1,457 +0,0 @@ -/* - * Copyright 2016 Klemens D. Morgenstern - * Copyright 2016, 2017 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_PROCESS_HPP_INCLUDED_ -#define BOOST_WINAPI_PROCESS_HPP_INCLUDED_ - -#include <boost/winapi/config.hpp> -#include <boost/winapi/basic_types.hpp> -#include <boost/winapi/access_rights.hpp> -#include <boost/winapi/get_current_process.hpp> -#include <boost/winapi/get_current_process_id.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { - -#if BOOST_WINAPI_PARTITION_DESKTOP_SYSTEM - -struct _PROCESS_INFORMATION; -#if !defined( BOOST_NO_ANSI_APIS ) -struct _STARTUPINFOA; -#endif -struct _STARTUPINFOW; - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -struct _PROC_THREAD_ATTRIBUTE_LIST; -#if BOOST_WINAPI_PARTITION_DESKTOP -#if !defined( BOOST_NO_ANSI_APIS ) -struct _STARTUPINFOEXA; -#endif -struct _STARTUPINFOEXW; -#endif // BOOST_WINAPI_PARTITION_DESKTOP -#endif - -BOOST_SYMBOL_IMPORT BOOST_NORETURN boost::winapi::VOID_ WINAPI -ExitProcess(boost::winapi::UINT_ uExitCode); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI GetExitCodeProcess( - boost::winapi::HANDLE_ hProcess, - boost::winapi::LPDWORD_ lpExitCode); - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI CreateProcessA( - boost::winapi::LPCSTR_ lpApplicationName, - boost::winapi::LPSTR_ lpCommandLine, - ::_SECURITY_ATTRIBUTES* lpProcessAttributes, - ::_SECURITY_ATTRIBUTES* lpThreadAttributes, - boost::winapi::INT_ bInheritHandles, - boost::winapi::DWORD_ dwCreationFlags, - boost::winapi::LPVOID_ lpEnvironment, - boost::winapi::LPCSTR_ lpCurrentDirectory, - ::_STARTUPINFOA* lpStartupInfo, - ::_PROCESS_INFORMATION* lpProcessInformation); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI CreateProcessW( - boost::winapi::LPCWSTR_ lpApplicationName, - boost::winapi::LPWSTR_ lpCommandLine, - ::_SECURITY_ATTRIBUTES* lpProcessAttributes, - ::_SECURITY_ATTRIBUTES* lpThreadAttributes, - boost::winapi::INT_ bInheritHandles, - boost::winapi::DWORD_ dwCreationFlags, - boost::winapi::LPVOID_ lpEnvironment, - boost::winapi::LPCWSTR_ lpCurrentDirectory, - ::_STARTUPINFOW* lpStartupInfo, - ::_PROCESS_INFORMATION* lpProcessInformation); - -#endif // BOOST_WINAPI_PARTITION_DESKTOP_SYSTEM - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM - -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI OpenProcess( - boost::winapi::DWORD_ dwDesiredAccess, - boost::winapi::BOOL_ bInheritHandle, - boost::winapi::DWORD_ dwProcessId); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI TerminateProcess( - boost::winapi::HANDLE_ hProcess, - boost::winapi::UINT_ uExitCode); - -#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM - -} // extern "C" -#endif // defined BOOST_WINDOWS_H - -namespace boost { -namespace winapi { - -#if defined( BOOST_USE_WINDOWS_H ) - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM - -const DWORD_ DEBUG_PROCESS_ = DEBUG_PROCESS; -const DWORD_ DEBUG_ONLY_THIS_PROCESS_ = DEBUG_ONLY_THIS_PROCESS; -const DWORD_ CREATE_SUSPENDED_ = CREATE_SUSPENDED; -const DWORD_ DETACHED_PROCESS_ = DETACHED_PROCESS; -const DWORD_ CREATE_NEW_CONSOLE_ = CREATE_NEW_CONSOLE; -const DWORD_ CREATE_NEW_PROCESS_GROUP_ = CREATE_NEW_PROCESS_GROUP; -const DWORD_ CREATE_UNICODE_ENVIRONMENT_ = CREATE_UNICODE_ENVIRONMENT; -const DWORD_ CREATE_SEPARATE_WOW_VDM_ = CREATE_SEPARATE_WOW_VDM; -const DWORD_ CREATE_SHARED_WOW_VDM_ = CREATE_SHARED_WOW_VDM; -const DWORD_ CREATE_FORCEDOS_ = CREATE_FORCEDOS; -const DWORD_ CREATE_BREAKAWAY_FROM_JOB_ = CREATE_BREAKAWAY_FROM_JOB; -const DWORD_ CREATE_DEFAULT_ERROR_MODE_ = CREATE_DEFAULT_ERROR_MODE; -const DWORD_ CREATE_NO_WINDOW_ = CREATE_NO_WINDOW; - -// Undocumented -const DWORD_ PROFILE_USER_ = PROFILE_USER; -const DWORD_ PROFILE_KERNEL_ = PROFILE_KERNEL; -const DWORD_ PROFILE_SERVER_ = PROFILE_SERVER; - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -const DWORD_ CREATE_PROTECTED_PROCESS_ = CREATE_PROTECTED_PROCESS; -const DWORD_ EXTENDED_STARTUPINFO_PRESENT_ = EXTENDED_STARTUPINFO_PRESENT; -#endif - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN7 -const DWORD_ INHERIT_PARENT_AFFINITY_ = INHERIT_PARENT_AFFINITY; -#endif - -// Only documented for Windows CE -#if defined(UNDER_CE) -const DWORD_ INHERIT_CALLER_PRIORITY_ = INHERIT_CALLER_PRIORITY; -#endif - -#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM - -#if BOOST_WINAPI_PARTITION_DESKTOP - -const DWORD_ STARTF_USESHOWWINDOW_ = STARTF_USESHOWWINDOW; -const DWORD_ STARTF_USESIZE_ = STARTF_USESIZE; -const DWORD_ STARTF_USEPOSITION_ = STARTF_USEPOSITION; -const DWORD_ STARTF_USECOUNTCHARS_ = STARTF_USECOUNTCHARS; -const DWORD_ STARTF_USEFILLATTRIBUTE_ = STARTF_USEFILLATTRIBUTE; -const DWORD_ STARTF_RUNFULLSCREEN_ = STARTF_RUNFULLSCREEN; -const DWORD_ STARTF_FORCEONFEEDBACK_ = STARTF_FORCEONFEEDBACK; -const DWORD_ STARTF_FORCEOFFFEEDBACK_ = STARTF_FORCEOFFFEEDBACK; -const DWORD_ STARTF_USESTDHANDLES_ = STARTF_USESTDHANDLES; -const DWORD_ STARTF_USEHOTKEY_ = STARTF_USEHOTKEY; - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN7 -const DWORD_ STARTF_TITLEISLINKNAME_ = STARTF_TITLEISLINKNAME; -const DWORD_ STARTF_TITLEISAPPID_ = STARTF_TITLEISAPPID; -const DWORD_ STARTF_PREVENTPINNING_ = STARTF_PREVENTPINNING; -#endif - -#endif // BOOST_WINAPI_PARTITION_DESKTOP - -const DWORD_ PROCESS_TERMINATE_ = PROCESS_TERMINATE; -const DWORD_ PROCESS_CREATE_THREAD_ = PROCESS_CREATE_THREAD; -const DWORD_ PROCESS_SET_SESSIONID_ = PROCESS_SET_SESSIONID; -const DWORD_ PROCESS_VM_OPERATION_ = PROCESS_VM_OPERATION; -const DWORD_ PROCESS_VM_READ_ = PROCESS_VM_READ; -const DWORD_ PROCESS_VM_WRITE_ = PROCESS_VM_WRITE; -const DWORD_ PROCESS_DUP_HANDLE_ = PROCESS_DUP_HANDLE; -const DWORD_ PROCESS_CREATE_PROCESS_ = PROCESS_CREATE_PROCESS; -const DWORD_ PROCESS_SET_QUOTA_ = PROCESS_SET_QUOTA; -const DWORD_ PROCESS_SET_INFORMATION_ = PROCESS_SET_INFORMATION; -const DWORD_ PROCESS_QUERY_INFORMATION_ = PROCESS_QUERY_INFORMATION; -const DWORD_ PROCESS_SUSPEND_RESUME_ = PROCESS_SUSPEND_RESUME; -const DWORD_ PROCESS_ALL_ACCESS_ = PROCESS_ALL_ACCESS; - -#else // defined( BOOST_USE_WINDOWS_H ) - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM - -const DWORD_ DEBUG_PROCESS_ = 0x1; -const DWORD_ DEBUG_ONLY_THIS_PROCESS_ = 0x2; -const DWORD_ CREATE_SUSPENDED_ = 0x4; -const DWORD_ DETACHED_PROCESS_ = 0x8; -const DWORD_ CREATE_NEW_CONSOLE_ = 0x10; -const DWORD_ CREATE_NEW_PROCESS_GROUP_ = 0x200; -const DWORD_ CREATE_UNICODE_ENVIRONMENT_ = 0x400; -const DWORD_ CREATE_SEPARATE_WOW_VDM_ = 0x800; -const DWORD_ CREATE_SHARED_WOW_VDM_ = 0x1000; -const DWORD_ CREATE_FORCEDOS_ = 0x2000; -const DWORD_ CREATE_BREAKAWAY_FROM_JOB_ = 0x1000000; -const DWORD_ CREATE_DEFAULT_ERROR_MODE_ = 0x4000000; -const DWORD_ CREATE_NO_WINDOW_ = 0x8000000; - -// Undocumented -const DWORD_ PROFILE_USER_ = 0x10000000; -const DWORD_ PROFILE_KERNEL_ = 0x20000000; -const DWORD_ PROFILE_SERVER_ = 0x40000000; - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 -const DWORD_ CREATE_PROTECTED_PROCESS_ = 0x40000; -const DWORD_ EXTENDED_STARTUPINFO_PRESENT_ = 0x80000; -#endif - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN7 -const DWORD_ INHERIT_PARENT_AFFINITY_ = 0x10000; -#endif - -// Only documented for Windows CE -#if defined(UNDER_CE) -const DWORD_ INHERIT_CALLER_PRIORITY_ = 0x20000; -#endif - -#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM - -#if BOOST_WINAPI_PARTITION_DESKTOP - -const DWORD_ STARTF_USESHOWWINDOW_ = 0x00000001; -const DWORD_ STARTF_USESIZE_ = 0x00000002; -const DWORD_ STARTF_USEPOSITION_ = 0x00000004; -const DWORD_ STARTF_USECOUNTCHARS_ = 0x00000008; -const DWORD_ STARTF_USEFILLATTRIBUTE_ = 0x00000010; -const DWORD_ STARTF_RUNFULLSCREEN_ = 0x00000020; -const DWORD_ STARTF_FORCEONFEEDBACK_ = 0x00000040; -const DWORD_ STARTF_FORCEOFFFEEDBACK_ = 0x00000080; -const DWORD_ STARTF_USESTDHANDLES_ = 0x00000100; -const DWORD_ STARTF_USEHOTKEY_ = 0x00000200; - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN7 -const DWORD_ STARTF_TITLEISLINKNAME_ = 0x00000800; -const DWORD_ STARTF_TITLEISAPPID_ = 0x00001000; -const DWORD_ STARTF_PREVENTPINNING_ = 0x00002000; -#endif - -#endif // BOOST_WINAPI_PARTITION_DESKTOP - -const DWORD_ PROCESS_TERMINATE_ = 0x0001; -const DWORD_ PROCESS_CREATE_THREAD_ = 0x0002; -const DWORD_ PROCESS_SET_SESSIONID_ = 0x0004; -const DWORD_ PROCESS_VM_OPERATION_ = 0x0008; -const DWORD_ PROCESS_VM_READ_ = 0x0010; -const DWORD_ PROCESS_VM_WRITE_ = 0x0020; -const DWORD_ PROCESS_DUP_HANDLE_ = 0x0040; -const DWORD_ PROCESS_CREATE_PROCESS_ = 0x0080; -const DWORD_ PROCESS_SET_QUOTA_ = 0x0100; -const DWORD_ PROCESS_SET_INFORMATION_ = 0x0200; -const DWORD_ PROCESS_QUERY_INFORMATION_ = 0x0400; -const DWORD_ PROCESS_SUSPEND_RESUME_ = 0x0800; -const DWORD_ PROCESS_ALL_ACCESS_ = (STANDARD_RIGHTS_REQUIRED_ | SYNCHRONIZE_ | 0xFFF); - -#endif // defined( BOOST_USE_WINDOWS_H ) - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM - -#if defined( BOOST_USE_WINDOWS_H ) && !defined( BOOST_WINAPI_IS_MINGW ) - -const DWORD_ CREATE_PRESERVE_CODE_AUTHZ_LEVEL_ = CREATE_PRESERVE_CODE_AUTHZ_LEVEL; - -// Undocumented -const DWORD_ CREATE_IGNORE_SYSTEM_DEFAULT_ = CREATE_IGNORE_SYSTEM_DEFAULT; - -#else // defined( BOOST_USE_WINDOWS_H ) && !defined( BOOST_WINAPI_IS_MINGW ) - -const DWORD_ CREATE_PRESERVE_CODE_AUTHZ_LEVEL_ = 0x2000000; - -// Undocumented -const DWORD_ CREATE_IGNORE_SYSTEM_DEFAULT_ = 0x80000000; - -#endif // defined( BOOST_USE_WINDOWS_H ) && !defined( BOOST_WINAPI_IS_MINGW ) - -#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM - -typedef struct BOOST_MAY_ALIAS _PROCESS_INFORMATION { - HANDLE_ hProcess; - HANDLE_ hThread; - DWORD_ dwProcessId; - DWORD_ dwThreadId; -} PROCESS_INFORMATION_, *PPROCESS_INFORMATION_, *LPPROCESS_INFORMATION_; - -typedef struct BOOST_MAY_ALIAS _STARTUPINFOA { - DWORD_ cb; - LPSTR_ lpReserved; - LPSTR_ lpDesktop; - LPSTR_ lpTitle; - DWORD_ dwX; - DWORD_ dwY; - DWORD_ dwXSize; - DWORD_ dwYSize; - DWORD_ dwXCountChars; - DWORD_ dwYCountChars; - DWORD_ dwFillAttribute; - DWORD_ dwFlags; - WORD_ wShowWindow; - WORD_ cbReserved2; - LPBYTE_ lpReserved2; - HANDLE_ hStdInput; - HANDLE_ hStdOutput; - HANDLE_ hStdError; -} STARTUPINFOA_, *LPSTARTUPINFOA_; - -typedef struct BOOST_MAY_ALIAS _STARTUPINFOW { - DWORD_ cb; - LPWSTR_ lpReserved; - LPWSTR_ lpDesktop; - LPWSTR_ lpTitle; - DWORD_ dwX; - DWORD_ dwY; - DWORD_ dwXSize; - DWORD_ dwYSize; - DWORD_ dwXCountChars; - DWORD_ dwYCountChars; - DWORD_ dwFillAttribute; - DWORD_ dwFlags; - WORD_ wShowWindow; - WORD_ cbReserved2; - LPBYTE_ lpReserved2; - HANDLE_ hStdInput; - HANDLE_ hStdOutput; - HANDLE_ hStdError; -} STARTUPINFOW_, *LPSTARTUPINFOW_; - -#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 - -typedef struct _PROC_THREAD_ATTRIBUTE_LIST PROC_THREAD_ATTRIBUTE_LIST_, *PPROC_THREAD_ATTRIBUTE_LIST_; - -#if BOOST_WINAPI_PARTITION_DESKTOP - -#if !defined(BOOST_NO_ANSI_APIS) -typedef struct BOOST_MAY_ALIAS _STARTUPINFOEXA { - STARTUPINFOA_ StartupInfo; - PPROC_THREAD_ATTRIBUTE_LIST_ lpAttributeList; -} STARTUPINFOEXA_, *LPSTARTUPINFOEXA_; -#endif // !defined(BOOST_NO_ANSI_APIS) - -typedef struct BOOST_MAY_ALIAS _STARTUPINFOEXW { - STARTUPINFOW_ StartupInfo; - PPROC_THREAD_ATTRIBUTE_LIST_ lpAttributeList; -} STARTUPINFOEXW_, *LPSTARTUPINFOEXW_; - -#endif // BOOST_WINAPI_PARTITION_DESKTOP - -#endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6 - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM - -using ::TerminateProcess; -using ::OpenProcess; - -#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM - -#if BOOST_WINAPI_PARTITION_DESKTOP_SYSTEM - -using ::GetExitCodeProcess; -using ::ExitProcess; - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE BOOL_ CreateProcessA( - LPCSTR_ lpApplicationName, - LPSTR_ lpCommandLine, - LPSECURITY_ATTRIBUTES_ lpProcessAttributes, - LPSECURITY_ATTRIBUTES_ lpThreadAttributes, - INT_ bInheritHandles, - DWORD_ dwCreationFlags, - LPVOID_ lpEnvironment, - LPCSTR_ lpCurrentDirectory, - LPSTARTUPINFOA_ lpStartupInfo, - LPPROCESS_INFORMATION_ lpProcessInformation) -{ - return ::CreateProcessA( - lpApplicationName, - lpCommandLine, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpProcessAttributes), - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpThreadAttributes), - bInheritHandles, - dwCreationFlags, - lpEnvironment, - lpCurrentDirectory, - reinterpret_cast< ::_STARTUPINFOA* >(lpStartupInfo), - reinterpret_cast< ::_PROCESS_INFORMATION* >(lpProcessInformation)); -} - -BOOST_FORCEINLINE BOOL_ create_process( - LPCSTR_ lpApplicationName, - LPSTR_ lpCommandLine, - LPSECURITY_ATTRIBUTES_ lpProcessAttributes, - LPSECURITY_ATTRIBUTES_ lpThreadAttributes, - INT_ bInheritHandles, - DWORD_ dwCreationFlags, - LPVOID_ lpEnvironment, - LPCSTR_ lpCurrentDirectory, - LPSTARTUPINFOA_ lpStartupInfo, - LPPROCESS_INFORMATION_ lpProcessInformation) -{ - return ::CreateProcessA( - lpApplicationName, - lpCommandLine, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpProcessAttributes), - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpThreadAttributes), - bInheritHandles, - dwCreationFlags, - lpEnvironment, - lpCurrentDirectory, - reinterpret_cast< ::_STARTUPINFOA* >(lpStartupInfo), - reinterpret_cast< ::_PROCESS_INFORMATION* >(lpProcessInformation)); -} -#endif - -BOOST_FORCEINLINE BOOL_ CreateProcessW( - LPCWSTR_ lpApplicationName, - LPWSTR_ lpCommandLine, - LPSECURITY_ATTRIBUTES_ lpProcessAttributes, - LPSECURITY_ATTRIBUTES_ lpThreadAttributes, - INT_ bInheritHandles, - DWORD_ dwCreationFlags, - LPVOID_ lpEnvironment, - LPCWSTR_ lpCurrentDirectory, - LPSTARTUPINFOW_ lpStartupInfo, - LPPROCESS_INFORMATION_ lpProcessInformation) -{ - return ::CreateProcessW( - lpApplicationName, - lpCommandLine, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpProcessAttributes), - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpThreadAttributes), - bInheritHandles, - dwCreationFlags, - lpEnvironment, - lpCurrentDirectory, - reinterpret_cast< ::_STARTUPINFOW* >(lpStartupInfo), - reinterpret_cast< ::_PROCESS_INFORMATION* >(lpProcessInformation)); -} - -BOOST_FORCEINLINE BOOL_ create_process( - LPCWSTR_ lpApplicationName, - LPWSTR_ lpCommandLine, - LPSECURITY_ATTRIBUTES_ lpProcessAttributes, - LPSECURITY_ATTRIBUTES_ lpThreadAttributes, - INT_ bInheritHandles, - DWORD_ dwCreationFlags, - LPVOID_ lpEnvironment, - LPCWSTR_ lpCurrentDirectory, - LPSTARTUPINFOW_ lpStartupInfo, - LPPROCESS_INFORMATION_ lpProcessInformation) -{ - return ::CreateProcessW( - lpApplicationName, - lpCommandLine, - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpProcessAttributes), - reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpThreadAttributes), - bInheritHandles, - dwCreationFlags, - lpEnvironment, - lpCurrentDirectory, - reinterpret_cast< ::_STARTUPINFOW* >(lpStartupInfo), - reinterpret_cast< ::_PROCESS_INFORMATION* >(lpProcessInformation)); -} - -#endif // BOOST_WINAPI_PARTITION_DESKTOP_SYSTEM - -} -} - -#endif // BOOST_WINAPI_PROCESS_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/security.hpp b/contrib/restricted/boost/boost/winapi/security.hpp deleted file mode 100644 index ba825a7cc3..0000000000 --- a/contrib/restricted/boost/boost/winapi/security.hpp +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2010 Vicente J. Botet Escriba - * Copyright 2015 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_SECURITY_HPP_INCLUDED_ -#define BOOST_WINAPI_SECURITY_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { -struct _ACL; -struct _SECURITY_DESCRIPTOR; -#if defined( BOOST_WINAPI_IS_MINGW ) -typedef _SECURITY_DESCRIPTOR *PSECURITY_DESCRIPTOR; -#else -typedef boost::winapi::PVOID_ PSECURITY_DESCRIPTOR; -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -InitializeSecurityDescriptor( - PSECURITY_DESCRIPTOR pSecurityDescriptor, - boost::winapi::DWORD_ dwRevision); -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -SetSecurityDescriptorDacl( - PSECURITY_DESCRIPTOR pSecurityDescriptor, - boost::winapi::BOOL_ bDaclPresent, - ::_ACL* pDacl, - boost::winapi::BOOL_ bDaclDefaulted); -} -#endif - -namespace boost { -namespace winapi { - -typedef PVOID_ PSID_; -typedef WORD_ SECURITY_DESCRIPTOR_CONTROL_, *PSECURITY_DESCRIPTOR_CONTROL_; - -typedef struct BOOST_MAY_ALIAS _ACL { - BYTE_ AclRevision; - BYTE_ Sbz1; - WORD_ AclSize; - WORD_ AceCount; - WORD_ Sbz2; -} ACL_, *PACL_; - -typedef struct BOOST_MAY_ALIAS _SECURITY_DESCRIPTOR { - BYTE_ Revision; - BYTE_ Sbz1; - SECURITY_DESCRIPTOR_CONTROL_ Control; - PSID_ Owner; - PSID_ Group; - PACL_ Sacl; - PACL_ Dacl; -} SECURITY_DESCRIPTOR_, *PISECURITY_DESCRIPTOR_; - -typedef ::PSECURITY_DESCRIPTOR PSECURITY_DESCRIPTOR_; - -using ::InitializeSecurityDescriptor; - -BOOST_FORCEINLINE BOOL_ SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR_ pSecurityDescriptor, BOOL_ bDaclPresent, PACL_ pDacl, BOOL_ bDaclDefaulted) -{ - return ::SetSecurityDescriptorDacl(pSecurityDescriptor, bDaclPresent, reinterpret_cast< ::_ACL* >(pDacl), bDaclDefaulted); -} - -} -} - -#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM -#endif // BOOST_WINAPI_SECURITY_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/shell.hpp b/contrib/restricted/boost/boost/winapi/shell.hpp deleted file mode 100644 index 77b0bb6229..0000000000 --- a/contrib/restricted/boost/boost/winapi/shell.hpp +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Copyright 2016 Klemens D. Morgenstern - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_SHELL_HPP_INCLUDED_ -#define BOOST_WINAPI_SHELL_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> -#include <boost/winapi/limits.hpp> -#if defined( BOOST_USE_WINDOWS_H ) -#include <shellapi.h> -#endif - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { - -BOOST_WINAPI_DETAIL_DECLARE_HANDLE(HICON); - -#if !defined( BOOST_NO_ANSI_APIS ) -struct _SHFILEINFOA; -#endif -struct _SHFILEINFOW; - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_PTR_ WINAPI SHGetFileInfoA( - boost::winapi::LPCSTR_ pszPath, - boost::winapi::DWORD_ dwFileAttributes, - ::_SHFILEINFOA *psfinsigned, - boost::winapi::UINT_ cbFileInfons, - boost::winapi::UINT_ uFlags); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_PTR_ WINAPI SHGetFileInfoW( - boost::winapi::LPCWSTR_ pszPath, - boost::winapi::DWORD_ dwFileAttributes, - ::_SHFILEINFOW *psfinsigned, - boost::winapi::UINT_ cbFileInfons, - boost::winapi::UINT_ uFlags); - -} // extern "C" -#endif // !defined( BOOST_USE_WINDOWS_H ) - -namespace boost { -namespace winapi { - -typedef ::HICON HICON_; - -#if defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ SHGFI_ICON_ = SHGFI_ICON; -const DWORD_ SHGFI_DISPLAYNAME_ = SHGFI_DISPLAYNAME; -const DWORD_ SHGFI_TYPENAME_ = SHGFI_TYPENAME; -const DWORD_ SHGFI_ATTRIBUTES_ = SHGFI_ATTRIBUTES; -const DWORD_ SHGFI_ICONLOCATION_ = SHGFI_ICONLOCATION; -const DWORD_ SHGFI_EXETYPE_ = SHGFI_EXETYPE; -const DWORD_ SHGFI_SYSICONINDEX_ = SHGFI_SYSICONINDEX; -const DWORD_ SHGFI_LINKOVERLAY_ = SHGFI_LINKOVERLAY; -const DWORD_ SHGFI_SELECTED_ = SHGFI_SELECTED; -#if (BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN2K) -const DWORD_ SHGFI_ATTR_SPECIFIED_ = SHGFI_ATTR_SPECIFIED; -#endif -const DWORD_ SHGFI_LARGEICON_ = SHGFI_LARGEICON; -const DWORD_ SHGFI_SMALLICON_ = SHGFI_SMALLICON; -const DWORD_ SHGFI_OPENICON_ = SHGFI_OPENICON; -const DWORD_ SHGFI_SHELLICONSIZE_ = SHGFI_SHELLICONSIZE; -const DWORD_ SHGFI_PIDL_ = SHGFI_PIDL; -const DWORD_ SHGFI_USEFILEATTRIBUTES_ = SHGFI_USEFILEATTRIBUTES; - -#else // defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ SHGFI_ICON_ = 0x000000100; -const DWORD_ SHGFI_DISPLAYNAME_ = 0x000000200; -const DWORD_ SHGFI_TYPENAME_ = 0x000000400; -const DWORD_ SHGFI_ATTRIBUTES_ = 0x000000800; -const DWORD_ SHGFI_ICONLOCATION_ = 0x000001000; -const DWORD_ SHGFI_EXETYPE_ = 0x000002000; -const DWORD_ SHGFI_SYSICONINDEX_ = 0x000004000; -const DWORD_ SHGFI_LINKOVERLAY_ = 0x000008000; -const DWORD_ SHGFI_SELECTED_ = 0x000010000; -#if (BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN2K) -const DWORD_ SHGFI_ATTR_SPECIFIED_ = 0x000020000; -#endif -const DWORD_ SHGFI_LARGEICON_ = 0x000000000; -const DWORD_ SHGFI_SMALLICON_ = 0x000000001; -const DWORD_ SHGFI_OPENICON_ = 0x000000002; -const DWORD_ SHGFI_SHELLICONSIZE_ = 0x000000004; -const DWORD_ SHGFI_PIDL_ = 0x000000008; -const DWORD_ SHGFI_USEFILEATTRIBUTES_ = 0x000000010; - -#endif // defined( BOOST_USE_WINDOWS_H ) - -// These constants are only declared for _WIN32_IE >= 0x0500. We don't set IE version -// and 5.0 is the default version since NT4 SP6, so just define the constants unconditionally. -// They are also missing from MinGW. -const DWORD_ SHGFI_ADDOVERLAYS_ = 0x000000020; -const DWORD_ SHGFI_OVERLAYINDEX_ = 0x000000040; - -typedef struct BOOST_MAY_ALIAS _SHFILEINFOA { - HICON_ hIcon; - int iIcon; - DWORD_ dwAttributes; - CHAR_ szDisplayName[MAX_PATH_]; - CHAR_ szTypeName[80]; -} SHFILEINFOA_; - -typedef struct BOOST_MAY_ALIAS _SHFILEINFOW { - HICON_ hIcon; - int iIcon; - DWORD_ dwAttributes; - WCHAR_ szDisplayName[MAX_PATH_]; - WCHAR_ szTypeName[80]; -} SHFILEINFOW_; - -#if !defined( BOOST_NO_ANSI_APIS ) - -BOOST_FORCEINLINE DWORD_PTR_ SHGetFileInfoA(LPCSTR_ pszPath, DWORD_ dwFileAttributes, SHFILEINFOA_* psfinsigned, UINT_ cbFileInfons, UINT_ uFlags) -{ - return ::SHGetFileInfoA(pszPath, dwFileAttributes, reinterpret_cast< ::_SHFILEINFOA* >(psfinsigned), cbFileInfons, uFlags); -} - -BOOST_FORCEINLINE DWORD_PTR_ sh_get_file_info(LPCSTR_ pszPath, DWORD_ dwFileAttributes, SHFILEINFOA_* psfinsigned, UINT_ cbFileInfons, UINT_ uFlags) -{ - return ::SHGetFileInfoA(pszPath, dwFileAttributes, reinterpret_cast< ::_SHFILEINFOA* >(psfinsigned), cbFileInfons, uFlags); -} - -#endif // BOOST_NO_ANSI_APIS - -BOOST_FORCEINLINE DWORD_PTR_ SHGetFileInfoW(LPCWSTR_ pszPath, DWORD_ dwFileAttributes, SHFILEINFOW_* psfinsigned, UINT_ cbFileInfons, UINT_ uFlags) -{ - return ::SHGetFileInfoW(pszPath, dwFileAttributes, reinterpret_cast< ::_SHFILEINFOW* >(psfinsigned), cbFileInfons, uFlags); -} - -BOOST_FORCEINLINE DWORD_PTR_ sh_get_file_info(LPCWSTR_ pszPath, DWORD_ dwFileAttributes, SHFILEINFOW_* psfinsigned, UINT_ cbFileInfons, UINT_ uFlags) -{ - return ::SHGetFileInfoW(pszPath, dwFileAttributes, reinterpret_cast< ::_SHFILEINFOW* >(psfinsigned), cbFileInfons, uFlags); -} - -} -} - -#endif // BOOST_WINAPI_PARTITION_DESKTOP -#endif // BOOST_WINAPI_SHELL_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/show_window.hpp b/contrib/restricted/boost/boost/winapi/show_window.hpp deleted file mode 100644 index 947b6d7df5..0000000000 --- a/contrib/restricted/boost/boost/winapi/show_window.hpp +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2016 Klemens D. Morgenstern - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_SHOW_WINDOW_HPP_INCLUDED_ -#define BOOST_WINAPI_SHOW_WINDOW_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_DESKTOP - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { -BOOST_WINAPI_DETAIL_DECLARE_HANDLE(HWND); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI ShowWindow( - HWND hWnd, - int nCmdShow); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI ShowWindowAsync( - HWND hWnd, - int nCmdShow); -} // extern "C" -#endif // BOOST_USE_WINDOWS_H - -namespace boost { -namespace winapi { - -typedef ::HWND HWND_; -using ::ShowWindow; -using ::ShowWindowAsync; - -#if defined( BOOST_USE_WINDOWS_H ) && !defined( NOSHOWWINDOW ) - -const DWORD_ SW_HIDE_ = SW_HIDE; -const DWORD_ SW_SHOWNORMAL_ = SW_SHOWNORMAL; -const DWORD_ SW_NORMAL_ = SW_NORMAL; -const DWORD_ SW_SHOWMINIMIZED_ = SW_SHOWMINIMIZED; -const DWORD_ SW_SHOWMAXIMIZED_ = SW_SHOWMAXIMIZED; -const DWORD_ SW_MAXIMIZE_ = SW_MAXIMIZE; -const DWORD_ SW_SHOWNOACTIVATE_ = SW_SHOWNOACTIVATE; -const DWORD_ SW_SHOW_ = SW_SHOW; -const DWORD_ SW_MINIMIZE_ = SW_MINIMIZE; -const DWORD_ SW_SHOWMINNOACTIVE_ = SW_SHOWMINNOACTIVE; -const DWORD_ SW_SHOWNA_ = SW_SHOWNA; -const DWORD_ SW_RESTORE_ = SW_RESTORE; -const DWORD_ SW_SHOWDEFAULT_ = SW_SHOWDEFAULT; -const DWORD_ SW_FORCEMINIMIZE_ = SW_FORCEMINIMIZE; -const DWORD_ SW_MAX_ = SW_MAX; -const DWORD_ HIDE_WINDOW_ = HIDE_WINDOW; -const DWORD_ SHOW_OPENWINDOW_ = SHOW_OPENWINDOW; -const DWORD_ SHOW_ICONWINDOW_ = SHOW_ICONWINDOW; -const DWORD_ SHOW_FULLSCREEN_ = SHOW_FULLSCREEN; -const DWORD_ SHOW_OPENNOACTIVATE_ = SHOW_OPENNOACTIVATE; -const DWORD_ SW_PARENTCLOSING_ = SW_PARENTCLOSING; -const DWORD_ SW_OTHERZOOM_ = SW_OTHERZOOM; -const DWORD_ SW_PARENTOPENING_ = SW_PARENTOPENING; -const DWORD_ SW_OTHERUNZOOM_ = SW_OTHERUNZOOM; - -#else - -const DWORD_ SW_HIDE_ = 0; -const DWORD_ SW_SHOWNORMAL_ = 1; -const DWORD_ SW_NORMAL_ = 1; -const DWORD_ SW_SHOWMINIMIZED_ = 2; -const DWORD_ SW_SHOWMAXIMIZED_ = 3; -const DWORD_ SW_MAXIMIZE_ = 3; -const DWORD_ SW_SHOWNOACTIVATE_ = 4; -const DWORD_ SW_SHOW_ = 5; -const DWORD_ SW_MINIMIZE_ = 6; -const DWORD_ SW_SHOWMINNOACTIVE_ = 7; -const DWORD_ SW_SHOWNA_ = 8; -const DWORD_ SW_RESTORE_ = 9; -const DWORD_ SW_SHOWDEFAULT_ = 10; -const DWORD_ SW_FORCEMINIMIZE_ = 11; -const DWORD_ SW_MAX_ = 11; -const DWORD_ HIDE_WINDOW_ = 0; -const DWORD_ SHOW_OPENWINDOW_ = 1; -const DWORD_ SHOW_ICONWINDOW_ = 2; -const DWORD_ SHOW_FULLSCREEN_ = 3; -const DWORD_ SHOW_OPENNOACTIVATE_ = 4; -const DWORD_ SW_PARENTCLOSING_ = 1; -const DWORD_ SW_OTHERZOOM_ = 2; -const DWORD_ SW_PARENTOPENING_ = 3; -const DWORD_ SW_OTHERUNZOOM_ = 4; - -#endif - -} -} - -#endif // BOOST_WINAPI_PARTITION_DESKTOP - -#endif // BOOST_WINAPI_SHOW_WINDOW_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/synchronization.hpp b/contrib/restricted/boost/boost/winapi/synchronization.hpp deleted file mode 100644 index 80a4ab8e01..0000000000 --- a/contrib/restricted/boost/boost/winapi/synchronization.hpp +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2010 Vicente J. Botet Escriba - * Copyright 2015 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_SYNCHRONIZATION_HPP_INCLUDED_ -#define BOOST_WINAPI_SYNCHRONIZATION_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> -#include <boost/winapi/critical_section.hpp> -#include <boost/winapi/wait.hpp> -#include <boost/winapi/event.hpp> -#include <boost/winapi/mutex.hpp> -#include <boost/winapi/semaphore.hpp> -#include <boost/winapi/init_once.hpp> -#include <boost/winapi/srw_lock.hpp> -#include <boost/winapi/condition_variable.hpp> -#include <boost/winapi/apc.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#endif // BOOST_WINAPI_SYNCHRONIZATION_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/tls.hpp b/contrib/restricted/boost/boost/winapi/tls.hpp deleted file mode 100644 index 3d4fe10fff..0000000000 --- a/contrib/restricted/boost/boost/winapi/tls.hpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2013 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_TLS_HPP_INCLUDED_ -#define BOOST_WINAPI_TLS_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { -#if !defined( UNDER_CE ) -// Windows CE define TlsAlloc and TlsFree as inline functions in kfuncs.h -BOOST_SYMBOL_IMPORT boost::winapi::DWORD_ WINAPI -TlsAlloc(BOOST_WINAPI_DETAIL_VOID); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -TlsFree(boost::winapi::DWORD_ dwTlsIndex); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::LPVOID_ WINAPI -TlsGetValue(boost::winapi::DWORD_ dwTlsIndex); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -TlsSetValue( - boost::winapi::DWORD_ dwTlsIndex, - boost::winapi::LPVOID_ lpTlsValue); -} // extern "C" -#endif - -namespace boost { -namespace winapi { - -using ::TlsAlloc; -using ::TlsFree; -using ::TlsGetValue; -using ::TlsSetValue; - -#if defined( BOOST_USE_WINDOWS_H ) -const DWORD_ TLS_OUT_OF_INDEXES_ = TLS_OUT_OF_INDEXES; -#else -const DWORD_ TLS_OUT_OF_INDEXES_ = 0xFFFFFFFF; -#endif - -const DWORD_ tls_out_of_indexes = TLS_OUT_OF_INDEXES_; - -} -} - -#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM -#endif // BOOST_WINAPI_TLS_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/boost/winapi/waitable_timer.hpp b/contrib/restricted/boost/boost/winapi/waitable_timer.hpp deleted file mode 100644 index 60f053991c..0000000000 --- a/contrib/restricted/boost/boost/winapi/waitable_timer.hpp +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright 2013 Andrey Semashev - * - * Distributed under the Boost Software License, Version 1.0. - * See http://www.boost.org/LICENSE_1_0.txt - */ - -#ifndef BOOST_WINAPI_WAITABLE_TIMER_HPP_INCLUDED_ -#define BOOST_WINAPI_WAITABLE_TIMER_HPP_INCLUDED_ - -#include <boost/winapi/basic_types.hpp> - -#ifdef BOOST_HAS_PRAGMA_ONCE -#pragma once -#endif - -#if BOOST_WINAPI_PARTITION_APP_SYSTEM - -#if !defined( BOOST_USE_WINDOWS_H ) -extern "C" { -typedef boost::winapi::VOID_ -(WINAPI *PTIMERAPCROUTINE)( - boost::winapi::LPVOID_ lpArgToCompletionRoutine, - boost::winapi::DWORD_ dwTimerLowValue, - boost::winapi::DWORD_ dwTimerHighValue); - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -CreateWaitableTimerA( - ::_SECURITY_ATTRIBUTES* lpTimerAttributes, - boost::winapi::BOOL_ bManualReset, - boost::winapi::LPCSTR_ lpTimerName); - -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -OpenWaitableTimerA( - boost::winapi::DWORD_ dwDesiredAccess, - boost::winapi::BOOL_ bInheritHandle, - boost::winapi::LPCSTR_ lpTimerName); -#endif - -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -CreateWaitableTimerW( - ::_SECURITY_ATTRIBUTES* lpTimerAttributes, - boost::winapi::BOOL_ bManualReset, - boost::winapi::LPCWSTR_ lpTimerName); - -BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI -OpenWaitableTimerW( - boost::winapi::DWORD_ dwDesiredAccess, - boost::winapi::BOOL_ bInheritHandle, - boost::winapi::LPCWSTR_ lpTimerName); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -SetWaitableTimer( - boost::winapi::HANDLE_ hTimer, - const ::_LARGE_INTEGER* lpDueTime, - boost::winapi::LONG_ lPeriod, - PTIMERAPCROUTINE pfnCompletionRoutine, - boost::winapi::LPVOID_ lpArgToCompletionRoutine, - boost::winapi::BOOL_ fResume); - -BOOST_SYMBOL_IMPORT boost::winapi::BOOL_ WINAPI -CancelWaitableTimer(boost::winapi::HANDLE_ hTimer); -} // extern "C" -#endif - -namespace boost { -namespace winapi { - -typedef ::PTIMERAPCROUTINE PTIMERAPCROUTINE_; - -#if !defined( BOOST_NO_ANSI_APIS ) -using ::OpenWaitableTimerA; -#endif -using ::OpenWaitableTimerW; -using ::CancelWaitableTimer; - -#if defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ TIMER_ALL_ACCESS_ = TIMER_ALL_ACCESS; -const DWORD_ TIMER_MODIFY_STATE_ = TIMER_MODIFY_STATE; -const DWORD_ TIMER_QUERY_STATE_ = TIMER_QUERY_STATE; - -#else // defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ TIMER_ALL_ACCESS_ = 0x001F0003; -const DWORD_ TIMER_MODIFY_STATE_ = 0x00000002; -const DWORD_ TIMER_QUERY_STATE_ = 0x00000001; - -#endif // defined( BOOST_USE_WINDOWS_H ) - -const DWORD_ timer_all_access = TIMER_ALL_ACCESS_; -const DWORD_ timer_modify_state = TIMER_MODIFY_STATE_; -const DWORD_ timer_query_state = TIMER_QUERY_STATE_; - - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE HANDLE_ CreateWaitableTimerA(PSECURITY_ATTRIBUTES_ lpTimerAttributes, BOOL_ bManualReset, LPCSTR_ lpTimerName) -{ - return ::CreateWaitableTimerA(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpTimerAttributes), bManualReset, lpTimerName); -} -#endif - -BOOST_FORCEINLINE HANDLE_ CreateWaitableTimerW(PSECURITY_ATTRIBUTES_ lpTimerAttributes, BOOL_ bManualReset, LPCWSTR_ lpTimerName) -{ - return ::CreateWaitableTimerW(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpTimerAttributes), bManualReset, lpTimerName); -} - -BOOST_FORCEINLINE BOOL_ SetWaitableTimer( - HANDLE_ hTimer, - const LARGE_INTEGER_* lpDueTime, - LONG_ lPeriod, - PTIMERAPCROUTINE_ pfnCompletionRoutine, - LPVOID_ lpArgToCompletionRoutine, - BOOL_ fResume) -{ - return ::SetWaitableTimer(hTimer, reinterpret_cast< const ::_LARGE_INTEGER* >(lpDueTime), lPeriod, pfnCompletionRoutine, lpArgToCompletionRoutine, fResume); -} - -#if !defined( BOOST_NO_ANSI_APIS ) -BOOST_FORCEINLINE HANDLE_ create_waitable_timer(PSECURITY_ATTRIBUTES_ lpTimerAttributes, BOOL_ bManualReset, LPCSTR_ lpTimerName) -{ - return ::CreateWaitableTimerA(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpTimerAttributes), bManualReset, lpTimerName); -} -#endif - -BOOST_FORCEINLINE HANDLE_ create_waitable_timer(PSECURITY_ATTRIBUTES_ lpTimerAttributes, BOOL_ bManualReset, LPCWSTR_ lpTimerName) -{ - return ::CreateWaitableTimerW(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpTimerAttributes), bManualReset, lpTimerName); -} - -BOOST_FORCEINLINE HANDLE_ create_anonymous_waitable_timer(PSECURITY_ATTRIBUTES_ lpTimerAttributes, BOOL_ bManualReset) -{ -#ifdef BOOST_NO_ANSI_APIS - return ::CreateWaitableTimerW(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpTimerAttributes), bManualReset, 0); -#else - return ::CreateWaitableTimerA(reinterpret_cast< ::_SECURITY_ATTRIBUTES* >(lpTimerAttributes), bManualReset, 0); -#endif -} - -} -} - -#endif // BOOST_WINAPI_PARTITION_APP_SYSTEM -#endif // BOOST_WINAPI_WAITABLE_TIMER_HPP_INCLUDED_ diff --git a/contrib/restricted/boost/winapi/CMakeLists.txt b/contrib/restricted/boost/winapi/CMakeLists.txt new file mode 100644 index 0000000000..ae2cf76bcd --- /dev/null +++ b/contrib/restricted/boost/winapi/CMakeLists.txt @@ -0,0 +1,19 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(restricted-boost-winapi INTERFACE) +target_include_directories(restricted-boost-winapi INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/winapi/include +) +target_link_libraries(restricted-boost-winapi INTERFACE + contrib-libs-cxxsupp + yutil + restricted-boost-config + restricted-boost-predef +) diff --git a/contrib/restricted/boost/winapi/README.md b/contrib/restricted/boost/winapi/README.md new file mode 100644 index 0000000000..467082b2ed --- /dev/null +++ b/contrib/restricted/boost/winapi/README.md @@ -0,0 +1,13 @@ +WinAPI +====== + +Windows API declarations without <windows.h>, for internal Boost use. + +### Build Status + +Master: [![AppVeyor](https://ci.appveyor.com/api/projects/status/dkb233de24u30x9a/branch/master?svg=true)](https://ci.appveyor.com/project/Lastique/winapi/branch/master) [![Travis CI](https://travis-ci.org/boostorg/winapi.svg?branch=master)](https://travis-ci.org/boostorg/winapi) +Develop: [![AppVeyor](https://ci.appveyor.com/api/projects/status/dkb233de24u30x9a/branch/develop?svg=true)](https://ci.appveyor.com/project/Lastique/winapi/branch/develop) [![Travis CI](https://travis-ci.org/boostorg/winapi.svg?branch=develop)](https://travis-ci.org/boostorg/winapi) + +### License + +Distributed under the [Boost Software License, Version 1.0](http://boost.org/LICENSE_1_0.txt). diff --git a/contrib/restricted/boost/boost/detail/interlocked.hpp b/contrib/restricted/boost/winapi/include/boost/detail/interlocked.hpp index e20e3e4671..e20e3e4671 100644 --- a/contrib/restricted/boost/boost/detail/interlocked.hpp +++ b/contrib/restricted/boost/winapi/include/boost/detail/interlocked.hpp diff --git a/contrib/restricted/boost/boost/detail/winapi/detail/deprecated_namespace.hpp b/contrib/restricted/boost/winapi/include/boost/detail/winapi/detail/deprecated_namespace.hpp index 40c9152704..40c9152704 100644 --- a/contrib/restricted/boost/boost/detail/winapi/detail/deprecated_namespace.hpp +++ b/contrib/restricted/boost/winapi/include/boost/detail/winapi/detail/deprecated_namespace.hpp diff --git a/contrib/restricted/boost/boost/detail/winapi/get_current_process.hpp b/contrib/restricted/boost/winapi/include/boost/detail/winapi/get_current_process.hpp index b6a7915028..b6a7915028 100644 --- a/contrib/restricted/boost/boost/detail/winapi/get_current_process.hpp +++ b/contrib/restricted/boost/winapi/include/boost/detail/winapi/get_current_process.hpp diff --git a/contrib/restricted/boost/boost/detail/winapi/get_current_thread.hpp b/contrib/restricted/boost/winapi/include/boost/detail/winapi/get_current_thread.hpp index f9a27c3e6e..f9a27c3e6e 100644 --- a/contrib/restricted/boost/boost/detail/winapi/get_current_thread.hpp +++ b/contrib/restricted/boost/winapi/include/boost/detail/winapi/get_current_thread.hpp diff --git a/contrib/restricted/boost/boost/detail/winapi/get_last_error.hpp b/contrib/restricted/boost/winapi/include/boost/detail/winapi/get_last_error.hpp index f76a008e08..f76a008e08 100644 --- a/contrib/restricted/boost/boost/detail/winapi/get_last_error.hpp +++ b/contrib/restricted/boost/winapi/include/boost/detail/winapi/get_last_error.hpp diff --git a/contrib/restricted/boost/boost/detail/winapi/get_process_times.hpp b/contrib/restricted/boost/winapi/include/boost/detail/winapi/get_process_times.hpp index 6babb3919d..6babb3919d 100644 --- a/contrib/restricted/boost/boost/detail/winapi/get_process_times.hpp +++ b/contrib/restricted/boost/winapi/include/boost/detail/winapi/get_process_times.hpp diff --git a/contrib/restricted/boost/boost/detail/winapi/get_thread_times.hpp b/contrib/restricted/boost/winapi/include/boost/detail/winapi/get_thread_times.hpp index 96f1fac8f3..96f1fac8f3 100644 --- a/contrib/restricted/boost/boost/detail/winapi/get_thread_times.hpp +++ b/contrib/restricted/boost/winapi/include/boost/detail/winapi/get_thread_times.hpp diff --git a/contrib/restricted/boost/boost/detail/winapi/time.hpp b/contrib/restricted/boost/winapi/include/boost/detail/winapi/time.hpp index a6d728a5a0..a6d728a5a0 100644 --- a/contrib/restricted/boost/boost/detail/winapi/time.hpp +++ b/contrib/restricted/boost/winapi/include/boost/detail/winapi/time.hpp diff --git a/contrib/restricted/boost/boost/detail/winapi/timers.hpp b/contrib/restricted/boost/winapi/include/boost/detail/winapi/timers.hpp index 4b874e249d..4b874e249d 100644 --- a/contrib/restricted/boost/boost/detail/winapi/timers.hpp +++ b/contrib/restricted/boost/winapi/include/boost/detail/winapi/timers.hpp diff --git a/contrib/restricted/boost/boost/winapi/access_rights.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/access_rights.hpp index 53e46ad231..53e46ad231 100644 --- a/contrib/restricted/boost/boost/winapi/access_rights.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/access_rights.hpp diff --git a/contrib/restricted/boost/boost/winapi/basic_types.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/basic_types.hpp index 886727f5c0..886727f5c0 100644 --- a/contrib/restricted/boost/boost/winapi/basic_types.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/basic_types.hpp diff --git a/contrib/restricted/boost/boost/winapi/character_code_conversion.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/character_code_conversion.hpp index c13f873f95..c13f873f95 100644 --- a/contrib/restricted/boost/boost/winapi/character_code_conversion.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/character_code_conversion.hpp diff --git a/contrib/restricted/boost/boost/winapi/condition_variable.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/condition_variable.hpp index 38b7052e21..38b7052e21 100644 --- a/contrib/restricted/boost/boost/winapi/condition_variable.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/condition_variable.hpp diff --git a/contrib/restricted/boost/boost/winapi/config.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/config.hpp index 2431af57b6..2431af57b6 100644 --- a/contrib/restricted/boost/boost/winapi/config.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/config.hpp diff --git a/contrib/restricted/boost/boost/winapi/dll.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/dll.hpp index 8b1ecd239c..8b1ecd239c 100644 --- a/contrib/restricted/boost/boost/winapi/dll.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/dll.hpp diff --git a/contrib/restricted/boost/boost/winapi/error_codes.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/error_codes.hpp index 89a720b8ec..89a720b8ec 100644 --- a/contrib/restricted/boost/boost/winapi/error_codes.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/error_codes.hpp diff --git a/contrib/restricted/boost/boost/winapi/error_handling.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/error_handling.hpp index f6618e3be6..f6618e3be6 100644 --- a/contrib/restricted/boost/boost/winapi/error_handling.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/error_handling.hpp diff --git a/contrib/restricted/boost/boost/winapi/event.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/event.hpp index 039c3b889a..039c3b889a 100644 --- a/contrib/restricted/boost/boost/winapi/event.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/event.hpp diff --git a/contrib/restricted/boost/boost/winapi/file_management.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/file_management.hpp index 4fa0c95843..4fa0c95843 100644 --- a/contrib/restricted/boost/boost/winapi/file_management.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/file_management.hpp diff --git a/contrib/restricted/boost/boost/winapi/get_current_process.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/get_current_process.hpp index f9b5251c23..f9b5251c23 100644 --- a/contrib/restricted/boost/boost/winapi/get_current_process.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/get_current_process.hpp diff --git a/contrib/restricted/boost/boost/winapi/get_current_process_id.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/get_current_process_id.hpp index 5848fdf478..5848fdf478 100644 --- a/contrib/restricted/boost/boost/winapi/get_current_process_id.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/get_current_process_id.hpp diff --git a/contrib/restricted/boost/boost/winapi/get_current_thread.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/get_current_thread.hpp index 334f9e52d6..334f9e52d6 100644 --- a/contrib/restricted/boost/boost/winapi/get_current_thread.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/get_current_thread.hpp diff --git a/contrib/restricted/boost/boost/winapi/get_current_thread_id.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/get_current_thread_id.hpp index 4cd1f01230..4cd1f01230 100644 --- a/contrib/restricted/boost/boost/winapi/get_current_thread_id.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/get_current_thread_id.hpp diff --git a/contrib/restricted/boost/boost/winapi/get_last_error.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/get_last_error.hpp index e44736deed..e44736deed 100644 --- a/contrib/restricted/boost/boost/winapi/get_last_error.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/get_last_error.hpp diff --git a/contrib/restricted/boost/boost/winapi/get_process_times.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/get_process_times.hpp index d476df475f..d476df475f 100644 --- a/contrib/restricted/boost/boost/winapi/get_process_times.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/get_process_times.hpp diff --git a/contrib/restricted/boost/boost/winapi/get_thread_times.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/get_thread_times.hpp index 7e7aebcc66..7e7aebcc66 100644 --- a/contrib/restricted/boost/boost/winapi/get_thread_times.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/get_thread_times.hpp diff --git a/contrib/restricted/boost/boost/winapi/handles.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/handles.hpp index f7b7aa7131..f7b7aa7131 100644 --- a/contrib/restricted/boost/boost/winapi/handles.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/handles.hpp diff --git a/contrib/restricted/boost/boost/winapi/heap_memory.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/heap_memory.hpp index d95b5a6e9d..d95b5a6e9d 100644 --- a/contrib/restricted/boost/boost/winapi/heap_memory.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/heap_memory.hpp diff --git a/contrib/restricted/boost/boost/winapi/limits.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/limits.hpp index 1d0a589ab3..1d0a589ab3 100644 --- a/contrib/restricted/boost/boost/winapi/limits.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/limits.hpp diff --git a/contrib/restricted/boost/boost/winapi/local_memory.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/local_memory.hpp index 32b9c691a6..32b9c691a6 100644 --- a/contrib/restricted/boost/boost/winapi/local_memory.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/local_memory.hpp diff --git a/contrib/restricted/boost/boost/winapi/overlapped.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/overlapped.hpp index 482699508a..482699508a 100644 --- a/contrib/restricted/boost/boost/winapi/overlapped.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/overlapped.hpp diff --git a/contrib/restricted/boost/boost/winapi/semaphore.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/semaphore.hpp index 4c6ec3b0c3..4c6ec3b0c3 100644 --- a/contrib/restricted/boost/boost/winapi/semaphore.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/semaphore.hpp diff --git a/contrib/restricted/boost/boost/winapi/srw_lock.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/srw_lock.hpp index 4bbf70ecea..4bbf70ecea 100644 --- a/contrib/restricted/boost/boost/winapi/srw_lock.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/srw_lock.hpp diff --git a/contrib/restricted/boost/boost/winapi/stack_backtrace.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/stack_backtrace.hpp index a9d47be838..a9d47be838 100644 --- a/contrib/restricted/boost/boost/winapi/stack_backtrace.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/stack_backtrace.hpp diff --git a/contrib/restricted/boost/boost/winapi/system.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/system.hpp index 316deed432..316deed432 100644 --- a/contrib/restricted/boost/boost/winapi/system.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/system.hpp diff --git a/contrib/restricted/boost/boost/winapi/thread.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/thread.hpp index dab3c2cc3e..dab3c2cc3e 100644 --- a/contrib/restricted/boost/boost/winapi/thread.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/thread.hpp diff --git a/contrib/restricted/boost/boost/winapi/thread_pool.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/thread_pool.hpp index b92c73cb48..b92c73cb48 100644 --- a/contrib/restricted/boost/boost/winapi/thread_pool.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/thread_pool.hpp diff --git a/contrib/restricted/boost/boost/winapi/time.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/time.hpp index 9b11cad42a..9b11cad42a 100644 --- a/contrib/restricted/boost/boost/winapi/time.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/time.hpp diff --git a/contrib/restricted/boost/boost/winapi/timers.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/timers.hpp index e288105df1..e288105df1 100644 --- a/contrib/restricted/boost/boost/winapi/timers.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/timers.hpp diff --git a/contrib/restricted/boost/boost/winapi/wait.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/wait.hpp index 5619e1c914..5619e1c914 100644 --- a/contrib/restricted/boost/boost/winapi/wait.hpp +++ b/contrib/restricted/boost/winapi/include/boost/winapi/wait.hpp |