<pclass="level0">curl_formget() is used to serialize data previously built/appended with <aclass="emphasis"href="./curl_formadd.html">curl_formadd(3)</a>. Accepts a void pointer as second argument named <spanClass="emphasis">userp</span> which will be passed as the first argument to the curl_formget_callback function.
<pclass="level0">The curl_formget_callback will be executed for each part of the HTTP POST chain. The character buffer passed to the callback must not be freed. The callback should return the buffer length passed to it on success.
<pclass="level0">If the <spanClass="bold">CURLFORM_STREAM</span> option is used in the formpost, it will prevent <aclass="emphasis"href="./curl_formget.html">curl_formget(3)</a> from working until you've performed the actual HTTP request as only then will libcurl get the actual read callback to use! <aname="RETURN"></a><h2class="nroffsh">RETURN VALUE</h2>