GMime.FormatOptions – gmime-3.0 Reference Manual
Packages
gmime-3.0
GMime
FormatOptions
get_default
FormatOptions
add_hidden_header
clear_hidden_headers
clone
create_newline_filter
free
get_newline
get_newline_format
get_param_encoding_method
is_hidden_header
remove_hidden_header
set_newline_format
set_param_encoding_method
FormatOptions
Object Hierarchy:
Description:
[
CCode
( copy_function =
"g_boxed_copy"
, free_function =
"g_boxed_free"
, type_id =
"g_mime_format_options_get_type ()"
) ]
[
Compact
]
public
class
FormatOptions
Format options for serializing various GMime objects.
Namespace:
GMime
Package:
gmime-3.0
Content:
Static methods:
public
static
FormatOptions
get_default
()
Creation methods:
public
FormatOptions
()
Creates a new set of
FormatOptions
.
Methods:
public
void
add_hidden_header
(
string
header)
Adds the given header to the list of headers that should be hidden.
public
void
clear_hidden_headers
()
Clears the list of headers that should be hidden.
public
FormatOptions
clone
()
Clones a
FormatOptions
.
public
Filter
create_newline_filter
(
bool
ensure_newline)
Creates a
Filter
suitable for converting line-endings to the currently set new-line format.
public
void
free
()
Frees a set of
FormatOptions
.
public
unowned
string
get_newline
()
Gets a string representing the currently set new-line format.
public
NewLineFormat
get_newline_format
()
Gets the new-line format to use when writing out messages and headers.
public
ParamEncodingMethod
get_param_encoding_method
()
Gets the parameter encoding method to use for
Param
parameters that do not already have an encoding method specified.
public
bool
is_hidden_header
(
string
header)
Gets whether or not the specified header should be hidden.
public
void
remove_hidden_header
(
string
header)
Removes the given header from the list of headers that should be hidden.
public
void
set_newline_format
(
NewLineFormat
newline)
Sets the new-line format that should be used when writing headers and messages.
public
void
set_param_encoding_method
(
ParamEncodingMethod
method)
Sets the parameter encoding method to use when encoding parameters which do not have an encoding method specified.