*** Factor common types into new odp_impl_types.h ***

This patch factors a number of ODP types into a new common odp_impl_types.h
file.  The benefit of this is twofold: It makes the "mainline" ODP include
files implementation-independent, and it avoids circular dependencies that
exist between files trying to reference each other's typedefs.

This patch currently factors out the typedefs and related typed
defines for the following files:

- odp_buffer.h
- odp_buffer_pool.h
- odp_packet.h
- odp_packet_io.h

The reason for this limit is to minimize changes and because these files
have the most problems with circular dependencies today, especially with
the upcoming buffer/packet restructure.  Additional typedefs can be moved
into this file in future patches on an as-needed basis.

v2 of this patch incorporates the following changes:
- Rename this file from odp_typedefs.h to odp_impl_types.h
- Added doxygen and related formatting changes suggested by Anders
- Remove trailing comments inherited from base files as suggested
  by Maxim.

Bill Fischofer (1):
  Factor ODP types into a common include file

 platform/linux-generic/Makefile.am                 |  1 +
 platform/linux-generic/include/api/odp_buffer.h    |  9 +--
 .../linux-generic/include/api/odp_buffer_pool.h    |  5 +-
 .../linux-generic/include/api/odp_impl_types.h     | 72 ++++++++++++++++++++++
 platform/linux-generic/include/api/odp_packet.h    | 30 ---------
 platform/linux-generic/include/api/odp_packet_io.h | 12 +---
 6 files changed, 76 insertions(+), 53 deletions(-)
 create mode 100644 platform/linux-generic/include/api/odp_impl_types.h

-- 
1.8.3.2


_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to