parse function prototype