Generate function signature