18 #ifdef POK_NEEDS_MIDDLEWARE
19 #ifdef POK_NEEDS_BLACKBOARDS
21 #include <middleware/blackboard.h>
24 #include <libc/string.h>
27 extern char* pok_blackboards_names[POK_CONFIG_NB_BLACKBOARDS];
29 pok_ret_t pok_blackboard_id (
char* name,
30 pok_blackboard_id_t*
id)
34 for (n=0 ; n < POK_CONFIG_NB_BLACKBOARDS ; n++)
36 if (streq (name, pok_blackboards_names[n]))
43 return POK_ERRNO_EINVAL;