Allow upper layer library to extend function types structure

Upper layer library have to define these structure either by including
data.h or defining they own structures.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>