string
must be a semi-colon separated list of "<key>=<value>" strings (for example
"DB_NAME=notes;USERNAME=alfred"). Each key and value must respect the RFC 1738 recommendations: the
;/?:
=`&
Some corner cases for any string part (delimited by the semi-colon):
Adds new key->value pairs from the given string
. If cleanup
is
set to %TRUE, the previous contents will be discarded before adding
the new pairs.
a string.
whether to cleanup the previous content or not.
Removes all strings in the given #GdaQuarkList.
Searches for the value identified by name
in the given #GdaQuarkList. For protected values
(authentification data), don't forget to call gda_quark_list_protect_values() when you
don't need them anymore (when needed again, they will be unmangled again).
the name of the value to search for.
Calls the given function for each of the key/value pairs in qlist
. The function is passed the key and value
of each pair, and the given user_data parameter. qlist
may not be modified while iterating over it.
the function to call for each key/value pair
Releases all memory occupied by the given #GdaQuarkList.
Call this function to get rid of the clear version of all the values stored in qlist
. If qlist
is %NULL,
then this function does nothing.
Removes an entry from the #GdaQuarkList, given its name.
an entry name.
Creates a new #GdaQuarkList given a string.
string
must be a semi-colon separated list of "<key>=<value>" strings (for example
"DB_NAME=notes;USERNAME=alfred"). Each key and value must respect the RFC 1738 recommendations: the
;/?:
=`&
a string.
Creates a new #GdaQuarkList, which is a set of key->value pairs, very similar to GLib's GHashTable, but with the only purpose to make easier the parsing and creation of data source connection strings.