blob: 8c7dd5a43f0860d57ea0f41a9a71406ab6494d47 [file] [log] [blame]
Gilles Peskine9ad7bd32022-12-04 13:10:55 +01001/**
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#if !defined(MBEDTLS_CONFIG_FILE)
30#include "mbedtls/config.h"
31#else
32#include MBEDTLS_CONFIG_FILE
33#endif
34
35#include <stdint.h>
36#include <stdlib.h>
37
38typedef union {
39 size_t len;
40 int32_t s32;
41} mbedtls_test_argument_t;
42
43#endif /* TEST_ARGUMENTS_H */