read function signatures from library