pointer typedefs for response