Function
Secretattributes_validate
Declaration [src]
gboolean
secret_attributes_validate (
const SecretSchema* schema,
GHashTable* attributes,
GError** error
)
Description [src]
Check if attributes are valid according to the provided schema.
Verifies schema name if available, attribute names and parsing of attribute values.
Parameters
schema |
SecretSchema |
The schema for the attributes. |
|
| The data is owned by the caller of the function. | |
attributes |
GHashTable* |
The attributes to be validated. |
|
| The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |