#include <dwc.h>
void DWC_GHTTPNewPost( DWCGHTTPPost* post );
This function creates DWCGHTTPPost objects as units of information used to upload data to the HTTP server.
After a DWCGHTTPPost object has been created, the data to be uploaded to the HTTP server is set to this object using the DWC_GHTTPPostAddString or DWC_GHTTPPostAddFileFromMemory function.
The memory used for a DWCGHTTPPost object is allocated when this function is called. The memory is released immediately after data has been uploaded and the upload complete callback has finished execution.
post |
Pointer to the DWCGHTTPPost object created to upload data. Returns NULL if the memory allocation fails. |
None.
DWC_GHTTPPostAddString
DWC_GHTTPPostAddFileFromMemory
DWC_PostGHTTPData
DWC_GetGHTTPDataEx2
2006/12/27 Made revisions in line with the addition of the DWC_GHTTPPostAddFileFromMemory and DWC_GetGHTTPDataEx2 functions.
2005/12/16 Revised function description.
2005/10/27 Initial version.
CONFIDENTIAL