Parameter for returning results. Default is transfer full.
NULL is ok, both for passing and for returning.
Free data after the code is done.