#include <dwc.h>
void DWC_GHTTPNewPost( DWCGHTTPPost* post );
This function creates DWCGHTTPPost type objects as units of information used to upload data to the HTTP server.
After the DWCGHTTPPost
type object is created, data to be uploaded to the HTTP server is set to this object using the DWC_GHTTPPostAddString
function.
The memory used for the DWCGHTTPPost
type object is allocated when this function is called and released immediately after data is uploaded and the upload complete callback exits.
post |
Pointer to the DWCGHTTPPost type object created in order to upload data. Returns NULL if the memory allocation fails. |
None.
DWC_GHTTPPostAddString, DWC_PostGHTTPData
12/16/2005 Revised the function description.
10/27/2005 Initial version.