![]() |
![]() |
![]() |
Camel Reference Manual | ![]() |
---|---|---|---|---|
CamelMimeFilterEnriched; #define CAMEL_MIME_FILTER_ENRICHED_IS_RICHTEXT CamelMimeFilter* camel_mime_filter_enriched_new (guint32 flags); char* camel_enriched_to_html (const char *in, guint32 flags);
typedef struct { CamelMimeFilter parent_object; guint32 flags; int nofill; } CamelMimeFilterEnriched;
CamelMimeFilter* camel_mime_filter_enriched_new (guint32 flags);
Create a new CamelMimeFilterEnriched object to convert input text streams from text/plain into text/enriched or text/richtext.
flags : |
bitwise set of flags to specify filter behaviour |
Returns : | a new CamelMimeFilterEnriched object |
char* camel_enriched_to_html (const char *in, guint32 flags);
Convert in
from text/plain into text/enriched or text/richtext
based on flags
.
in : |
input textual string |
flags : |
flags specifying filter behaviour |
Returns : | a newly allocated string containing the enriched or
richtext version of in .
|