@@ -37,6 +37,10 @@ extern "C" {
* Invalid pool
*/
+/**
+ * @typedef odp_pool_type_t
+ */
+
/** Maximum queue name length in chars */
#define ODP_POOL_NAME_LEN 32
@@ -46,7 +50,7 @@ extern "C" {
*/
typedef struct odp_pool_param_t {
/** Pool type */
- int type;
+ odp_pool_type_t type;
union {
struct {
@@ -90,13 +94,6 @@ typedef struct odp_pool_param_t {
};
} odp_pool_param_t;
-/** Packet pool*/
-#define ODP_POOL_PACKET ODP_EVENT_PACKET
-/** Buffer pool */
-#define ODP_POOL_BUFFER ODP_EVENT_BUFFER
-/** Timeout pool */
-#define ODP_POOL_TIMEOUT ODP_EVENT_TIMEOUT
-
/**
* Create a pool
*
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- include/odp/api/pool.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-)