Skip to main content

ec_message_part_get_content_type

Last updated March 2020

Name

ec_message_part_get_content_type — Returns the content type and charset for a given part

Synopsis

#include "ec_message.h"

| void **ec_message_part_get_content_type** ( | p, |   | |   | content_type, |   | |   | ct_len, |   | |   | charset, |   | |   | charset_len); |   |

ec_message_part * <var class="pdparam">p</var>; char * <var class="pdparam">content_type</var>; int <var class="pdparam">ct_len</var>; char * <var class="pdparam">charset</var>; int <var class="pdparam">charset_len</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Returns the content type and charset for a given part.

Parameters

content_type

a buffer to hold the content type.

ct_len

the size of the content_type buffer in bytes

charset

a buffer to hold the charset.

charset_set

the size of charset buffer in bytes.

See Also

ec_mime_component_extract_content_type().

Was this page helpful?