added stdout and error definitons in _cpf_type header