diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2015-01-05 20:55:47 +0100 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-01-29 20:42:35 +0300 |
commit | 5879ac573b403c576decfe2af49f996fda12c3fa (patch) | |
tree | ac5f48bd28c37b8d84238e9731a814151dbeb8a3 /include/odp/api/buffer.h | |
parent | 8f7ba0aa1760b154ceedd905dfaad1fe0791a386 (diff) |
api: buffer: move typedefs and defines
Align the style with the rest of the header files of linux-generic
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Balasubramanian Manoharan <bala.manoharan@linaro.org>
Reviewed-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp/api/buffer.h')
-rw-r--r-- | include/odp/api/buffer.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/odp/api/buffer.h b/include/odp/api/buffer.h index 41d48a183..f1d60a5bf 100644 --- a/include/odp/api/buffer.h +++ b/include/odp/api/buffer.h @@ -30,6 +30,26 @@ extern "C" { /** + * @typedef odp_buffer_t + * ODP buffer + */ + +/** + * @def ODP_BUFFER_INVALID + * Invalid buffer + */ + +/** + * @typedef odp_buffer_seg_t + * ODP buffer segment + */ + +/** + * @def ODP_SEGMENT_INVALID + * Invalid segment + */ + +/** * Get buffer handle from event * * Converts an ODP_EVENT_BUFFER type event to a buffer. |