| Gilles Peskine | 449bd83 | 2023-01-11 14:50:10 +0100 | [diff] [blame] | 1 | /** | 
| Mateusz Starzyk | 2c09c9b | 2021-05-14 22:20:10 +0200 | [diff] [blame] | 2 | * \file private_access.h | 
|  | 3 | * | 
| Shaun Case | 8b0ecbc | 2021-12-20 21:14:10 -0800 | [diff] [blame] | 4 | * \brief Macro wrapper for struct's members. | 
| Mateusz Starzyk | 2c09c9b | 2021-05-14 22:20:10 +0200 | [diff] [blame] | 5 | */ | 
|  | 6 | /* | 
|  | 7 | *  Copyright The Mbed TLS Contributors | 
|  | 8 | *  SPDX-License-Identifier: Apache-2.0 | 
|  | 9 | * | 
|  | 10 | *  Licensed under the Apache License, Version 2.0 (the "License"); you may | 
|  | 11 | *  not use this file except in compliance with the License. | 
|  | 12 | *  You may obtain a copy of the License at | 
|  | 13 | * | 
|  | 14 | *  http://www.apache.org/licenses/LICENSE-2.0 | 
|  | 15 | * | 
|  | 16 | *  Unless required by applicable law or agreed to in writing, software | 
|  | 17 | *  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | 
|  | 18 | *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|  | 19 | *  See the License for the specific language governing permissions and | 
|  | 20 | *  limitations under the License. | 
|  | 21 | */ | 
|  | 22 |  | 
|  | 23 | #ifndef MBEDTLS_PRIVATE_ACCESS_H | 
|  | 24 | #define MBEDTLS_PRIVATE_ACCESS_H | 
|  | 25 |  | 
|  | 26 | #ifndef MBEDTLS_ALLOW_PRIVATE_ACCESS | 
|  | 27 | #define MBEDTLS_PRIVATE(member) private_##member | 
|  | 28 | #else | 
|  | 29 | #define MBEDTLS_PRIVATE(member) member | 
|  | 30 | #endif | 
|  | 31 |  | 
|  | 32 | #endif /* MBEDTLS_PRIVATE_ACCESS_H */ |