diff options
Diffstat (limited to 'include/odp/api/abi-default/ipsec_types.h')
-rw-r--r-- | include/odp/api/abi-default/ipsec_types.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/odp/api/abi-default/ipsec_types.h b/include/odp/api/abi-default/ipsec_types.h new file mode 100644 index 000000000..9d099b80d --- /dev/null +++ b/include/odp/api/abi-default/ipsec_types.h @@ -0,0 +1,34 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright (c) 2016-2018 Linaro Limited + * Copyright (c) 2022 Nokia + */ + +#ifndef ODP_ABI_IPSEC_TYPES_H_ +#define ODP_ABI_IPSEC_TYPES_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include <odp/api/std_types.h> + +/** @internal Dummy type for strong typing */ +typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_ipsec_sa_t; + +/** @addtogroup odp_ipsec + * @{ + */ + +typedef _odp_abi_ipsec_sa_t *odp_ipsec_sa_t; + +#define ODP_IPSEC_SA_INVALID ((odp_ipsec_sa_t)0) + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif |