Gilles Peskine | b3c2eaf | 2022-12-04 13:10:55 +0100 | [diff] [blame] | 1 | /** |
| 2 | * \file arguments.h |
| 3 | * |
| 4 | * \brief Manipulation of test arguments. |
| 5 | * |
| 6 | * Much of the code is in host_test.function, to be migrated here later. |
| 7 | */ |
| 8 | |
| 9 | /* |
| 10 | * Copyright The Mbed TLS Contributors |
| 11 | * SPDX-License-Identifier: Apache-2.0 |
| 12 | * |
| 13 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 14 | * not use this file except in compliance with the License. |
| 15 | * You may obtain a copy of the License at |
| 16 | * |
| 17 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 18 | * |
| 19 | * Unless required by applicable law or agreed to in writing, software |
| 20 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 21 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 22 | * See the License for the specific language governing permissions and |
| 23 | * limitations under the License. |
| 24 | */ |
| 25 | |
| 26 | #ifndef TEST_ARGUMENTS_H |
| 27 | #define TEST_ARGUMENTS_H |
| 28 | |
| 29 | #include "mbedtls/build_info.h" |
| 30 | #include <stdint.h> |
| 31 | #include <stdlib.h> |
| 32 | |
| 33 | typedef union { |
| 34 | size_t len; |
Gilles Peskine | 872948c | 2022-12-04 15:32:54 +0100 | [diff] [blame] | 35 | intmax_t sint; |
Gilles Peskine | b3c2eaf | 2022-12-04 13:10:55 +0100 | [diff] [blame] | 36 | } mbedtls_test_argument_t; |
| 37 | |
| 38 | #endif /* TEST_ARGUMENTS_H */ |