# /space/home/slher/rel/Beken/v6_4_5/macsw/modules/common/src/co_pool.c File Reference

Copyright (C) RivieraWaves 2011-2019. More...

`#include <stddef.h>`
`#include "co_pool.h"`
`#include "dbg_assert.h"`

Go to the source code of this file.

## Functions
void | co_pool_init (struct co_pool *pool, struct co_pool_hdr *pool_hdr, void *elements, uint32_t elem_size, uint32_t elem_cnt)
| Initialize the pool.
struct co_pool_hdr * | co_pool_alloc (struct co_pool *pool, uint32_t nbelem)
| Allocate elements from the pool.
void | co_pool_free (struct co_pool *pool, struct co_pool_hdr *elements, uint32_t nbelem)
| Release elements from the pool.

## Detailed Description

Copyright (C) RivieraWaves 2011-2019.

Implementation of the co_pool API.

Definition in file co_pool.c.