18 #ifdef POK_NEEDS_MIDDLEWARE
19 #ifdef POK_NEEDS_BUFFERS
21 #include <middleware/buffer.h>
27 pok_ret_t pok_buffer_init (
void)
31 for (n=0 ; n < POK_CONFIG_NB_BUFFERS ; n++)
33 pok_buffers[n].ready = FALSE;
34 pok_buffers[n].full = FALSE;
35 pok_buffers[n].empty = TRUE;