Function

Secretattributes_build

Declaration [src]

GHashTable*
secret_attributes_build (
  const SecretSchema* schema,
  ...
)

Description [src]

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.

This function is not directly available to language bindings.

Parameters

schema

Type: SecretSchema

The schema for the attributes.

The data is owned by the caller of the function.
...

Type: 

The attribute keys and values, terminated with NULL.

Return value

Type: GHashTable

A new table of attributes, to be released with g_hash_table_unref()

The caller of the function takes ownership of the data, and is responsible for freeing it.