Makes content of the parameters
the same as from
.
Functions clears content of parameters
if from
is %NULL.
an #ENamedParameters to get values from, or %NULL
Removes all stored parameters from parameters
.
Frees an instance of #ENamedParameters, previously allocated
with e_named_parameters_new(). Function does nothing, if
parameters
is %NULL.
Returns current value of a parameter with name name
. If not such
exists, then returns %NULL.
name of a parameter to get
Creates a new instance of an #ENamedParameters, with initial content
being taken from parameters
. This should be freed with e_named_parameters_free(),
when no longer needed. Names are compared case insensitively.
The structure is not thread safe, if the caller requires thread safety, then it should provide it on its own.
Sets parameter named name
to value value
. If value
is NULL,
then the parameter is removed. value
can be an empty string.
Note: There is a restriction on parameter names, it cannot be empty or contain a colon character (':'), otherwise it can be pretty much anything.
name of a parameter to set
value to set, or %NULL to unset
Compares current value of parameter named name
with given value
and returns whether they are equal, either case sensitively or
insensitively, based on case_sensitively
argument. Function
returns %FALSE, if no such parameter exists.
name of a parameter to test
value to test
whether to compare case sensitively
Creates a new instance of an #ENamedParameters. This should be freed with e_named_parameters_free(), when no longer needed. Names are compared case insensitively.
The structure is not thread safe, if the caller requires thread safety, then it should provide it on its own.
Creates a new instance of an #ENamedParameters, with initial content being
taken from str
. This should be freed with e_named_parameters_free(),
when no longer needed. Names are compared case insensitively.
The str
should be created with e_named_parameters_to_string(), to be
properly encoded.
The structure is not thread safe, if the caller requires thread safety, then it should provide it on its own.
a string to be used as a content of a newly created #ENamedParameters
Creates a new instance of an #ENamedParameters, with initial content
being taken from strv
. This should be freed with e_named_parameters_free(),
when no longer needed. Names are compared case insensitively.
The structure is not thread safe, if the caller requires thread safety, then it should provide it on its own.
NULL-terminated string array to be used as a content of a newly created #ENamedParameters
Creates a new instance of an #ENamedParameters. This should be freed with e_named_parameters_free(), when no longer needed. Names are compared case insensitively.
The structure is not thread safe, if the caller requires thread safety, then it should provide it on its own.