attributes_build


Description:


public HashTable<string,string> attributes_build (Schema schema, ...)

Build up a hash table of attribute values.

The variable argument list should contain pairs of a) The attribute name as a null-terminated string, followed by b) attribute value, either a character string, an int number, or a gboolean value, as defined in the password schema. The list of attributes should be terminated with a null.

Parameters:

schema

the schema for the attributes

...

the attribute keys and values, terminated with null

Returns:

a new table of attributes, to be released with [funcGLib.HashTable.unref]


Namespace: Secret
Package: libsecret-1



2022 vala-language.org