Interaction between library(struct) and library(func)