Merge branch 'annotate-fns' into 'master'

secret-util: Annotate docstirngs

See merge request GNOME/libsecret!140
This commit is contained in:
Niels De Graef 2024-02-24 11:48:34 +00:00
commit a86c93d6f9
2 changed files with 32 additions and 8 deletions

View File

@ -191,6 +191,8 @@ secret_attributes_buildv (const SecretSchema *schema,
* of attribute values. * of attribute values.
* *
* Returns: whether or not the given attributes table is valid * Returns: whether or not the given attributes table is valid
*
* Since: 0.21.2
*/ */
gboolean gboolean
secret_attributes_validate (const SecretSchema *schema, secret_attributes_validate (const SecretSchema *schema,

View File

@ -29,14 +29,6 @@
* Service * Service
* @SECRET_ERROR_ALREADY_EXISTS: a relevant item or collection already exists * @SECRET_ERROR_ALREADY_EXISTS: a relevant item or collection already exists
* @SECRET_ERROR_INVALID_FILE_FORMAT: the file format is not valid * @SECRET_ERROR_INVALID_FILE_FORMAT: the file format is not valid
* @SECRET_ERROR_MISMATCHED_SCHEMA: the xdg:schema attribute of the table does
* not match the schema name
* @SECRET_ERROR_NO_MATCHING_ATTRIBUTE: attribute contained in table not found
* in corresponding schema
* @SECRET_ERROR_WRONG_TYPE: attribute could not be parsed according to its type
* reported in the table's schema
* @SECRET_ERROR_EMPTY_TABLE: attribute list passed to secret_attributes_validate
* has no elements to validate
* *
* Errors returned by the Secret Service. * Errors returned by the Secret Service.
* *
@ -45,6 +37,36 @@
* *
* Stability: Stable * Stability: Stable
*/ */
/**
* SECRET_ERROR_MISMATCHED_SCHEMA:
*
* the xdg:schema attribute of the table does not match the schema name
*
* Since: 0.21.2
*/
/**
* SECRET_ERROR_NO_MATCHING_ATTRIBUTE:
*
* attribute contained in table not found in corresponding schema
*
* Since: 0.21.2
*/
/**
* SECRET_ERROR_WRONG_TYPE:
*
* attribute could not be parsed according to its type reported in the table's
* schema
*
* Since: 0.21.2
*/
/**
* SECRET_ERROR_EMPTY_TABLE:
*
* attribute list passed to secret_attributes_validate has no elements to
* validate
*
* Since: 0.21.2
*/
static void static void
list_unref_free (GList *reflist) list_unref_free (GList *reflist)