Skip to content

Commit

Permalink
linux-gen: add compression ABI file
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
  • Loading branch information
Dmitry Eremin-Solenikov authored and muvarov committed Dec 12, 2018
1 parent 5d9c339 commit 44820ab
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions platform/linux-generic/Makefile.am
Expand Up @@ -52,6 +52,7 @@ odpapiabiarchinclude_HEADERS += \
include-abi/odp/api/abi/buffer.h \
include-abi/odp/api/abi/byteorder.h \
include-abi/odp/api/abi/classification.h \
include-abi/odp/api/abi/comp.h \
include-abi/odp/api/abi/cpumask.h \
include-abi/odp/api/abi/crypto.h \
include-abi/odp/api/abi/debug.h \
Expand Down
34 changes: 34 additions & 0 deletions platform/linux-generic/include-abi/odp/api/abi/comp.h
@@ -0,0 +1,34 @@
/* Copyright (c) 2018, Linaro Limited
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef ODP_ABI_COMP_H_
#define ODP_ABI_COMP_H_

#include <odp/api/plat/strong_types.h>

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>

/** @ingroup odp_compression
* @{
*/

typedef ODP_HANDLE_T(odp_comp_session_t);

#define ODP_COMP_SESSION_INVALID _odp_cast_scalar(odp_comp_session_t, 0)

/**
* @}
*/

#ifdef __cplusplus
}
#endif

#endif

0 comments on commit 44820ab

Please sign in to comment.