Method

CamelNamedFlagsinsert

since: 3.24

Declaration [src]

gboolean
camel_named_flags_insert (
  CamelNamedFlags* named_flags,
  const gchar* name
)

Description [src]

Inserts a flag named name into the named_flags, if it is not included already (comparing case sensitively), or does nothing otherwise.

Available since: 3.24

Parameters

name

Type: const gchar*

Name of the flag.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE the flag named name was inserted; FALSE otherwise.