Constructor
CamelMessageInfonew_from_headers
since: 3.24
Declaration [src]
CamelMessageInfo*
camel_message_info_new_from_headers (
CamelFolderSummary* summary,
const CamelNameValueArray* headers
)
Description [src]
Create a new CamelMessageInfo pre-populated with info from
headers.
Available since: 3.24
Parameters
summary-
Type:
CamelFolderSummaryA
CamelFolderSummaryobject orNULL.The argument can be NULL.The data is owned by the caller of the function. headers-
Type:
CamelNameValueArrayA
CamelNameValueArray.The data is owned by the caller of the function.
Return value
Type: CamelMessageInfo
A new CamelMessageInfo.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |