diff mbox

[API-NEXT,PATCHv3,3/6] api: pool: add odp_pool_param_init prototype

Message ID 1436051526-15926-3-git-send-email-bill.fischofer@linaro.org
State Accepted
Commit 9b2feaf12597c5aeb724e0e5c85f47b4516ad3a5
Headers show

Commit Message

Bill Fischofer July 4, 2015, 11:12 p.m. UTC
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 include/odp/api/pool.h | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox

Patch

diff --git a/include/odp/api/pool.h b/include/odp/api/pool.h
index e5061ab..53d83ad 100644
--- a/include/odp/api/pool.h
+++ b/include/odp/api/pool.h
@@ -206,6 +206,16 @@  void odp_pool_print(odp_pool_t pool);
 uint64_t odp_pool_to_u64(odp_pool_t hdl);
 
 /**
+ * Initialize pool params
+ *
+ * This routine is used to initialize an odp_pool_param_t to its
+ * default values for all fields
+ *
+ * @param param   Address of the odp_pool_param_t to be initialized
+ */
+void odp_pool_param_init(odp_pool_param_t *param);
+
+/**
  * @}
  */