DWC_GHTTPNewPost

C Specification

#include <dwc.h>

void DWC_GHTTPNewPost( DWCGHTTPPost* post );

Description

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.

Arguments

post Pointer to the DWCGHTTPPost type object created in order to upload data. Returns NULL if the memory allocation fails.

Return Values

None.

See Also

DWC_GHTTPPostAddString, DWC_PostGHTTPData

Revision History

12/16/2005 Revised the function description.
10/27/2005 Initial version.