diff options
Diffstat (limited to 'include/odp/api/abi-default/stash_types.h')
-rw-r--r-- | include/odp/api/abi-default/stash_types.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/odp/api/abi-default/stash_types.h b/include/odp/api/abi-default/stash_types.h new file mode 100644 index 000000000..6779f3af6 --- /dev/null +++ b/include/odp/api/abi-default/stash_types.h @@ -0,0 +1,33 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright (c) 2022 Nokia + */ + +#ifndef ODP_ABI_STASH_TYPES_H_ +#define ODP_ABI_STASH_TYPES_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @internal Dummy type for strong typing */ +typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_stash_t; + +/** @addtogroup odp_stash + * @{ + */ + +typedef _odp_abi_stash_t *odp_stash_t; + +#define ODP_STASH_INVALID ((odp_stash_t)0) + +#define ODP_STASH_NAME_LEN 32 + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif |