blob: c672104ce3965a6c580802e663c791088138525d [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
Dave Rodgman7ff79652023-11-03 12:04:52 +000011 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
Gilles Peskine9ad7bd32022-12-04 13:10:55 +010012 */
13
14#ifndef TEST_ARGUMENTS_H
15#define TEST_ARGUMENTS_H
16
17#if !defined(MBEDTLS_CONFIG_FILE)
18#include "mbedtls/config.h"
19#else
20#include MBEDTLS_CONFIG_FILE
21#endif
22
23#include <stdint.h>
24#include <stdlib.h>
25
26typedef union {
27 size_t len;
Gilles Peskine6494d922022-12-04 15:32:54 +010028 intmax_t sint;
Gilles Peskine9ad7bd32022-12-04 13:10:55 +010029} mbedtls_test_argument_t;
30
31#endif /* TEST_ARGUMENTS_H */