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 has been created, 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 the DWCGHTTPPost type 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.

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_GHTTPPostAddFileFromMemory, DWC_PostGHTTPData, DWC_GetGHTTPDataEx2

Revision History

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