lib: add some missing (out) annotations
Closes: #1861 Approved by: cgwalters
This commit is contained in:
parent
0872708ea1
commit
aa5df8995e
|
|
@ -401,6 +401,14 @@ ostree_mutable_tree_ensure_dir (OstreeMutableTree *self,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ostree_mutable_tree_lookup:
|
||||||
|
* @self: Tree
|
||||||
|
* @name: name
|
||||||
|
* @out_file_checksum: (out) (transfer full): checksum
|
||||||
|
* @out_subdir: (out) (transfer full): subdirectory
|
||||||
|
* @error: a #GError
|
||||||
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
ostree_mutable_tree_lookup (OstreeMutableTree *self,
|
ostree_mutable_tree_lookup (OstreeMutableTree *self,
|
||||||
const char *name,
|
const char *name,
|
||||||
|
|
|
||||||
|
|
@ -292,6 +292,13 @@ ostree_repo_file_ensure_resolved (OstreeRepoFile *self,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ostree_repo_file_get_xattrs:
|
||||||
|
* @self: #OstreeRepoFile
|
||||||
|
* @out_xattrs: (out) (optional): the extended attributes
|
||||||
|
* @cancellable: Cancellable
|
||||||
|
* @error: Error
|
||||||
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
ostree_repo_file_get_xattrs (OstreeRepoFile *self,
|
ostree_repo_file_get_xattrs (OstreeRepoFile *self,
|
||||||
GVariant **out_xattrs,
|
GVariant **out_xattrs,
|
||||||
|
|
@ -724,6 +731,13 @@ query_child_info_dir (OstreeRepo *repo,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ostree_repo_file_tree_find_child:
|
||||||
|
* @self: #OstreeRepoFile
|
||||||
|
* @name: name of the child
|
||||||
|
* @is_dir: (out caller-allocates):
|
||||||
|
* @out_container: (out):
|
||||||
|
*/
|
||||||
int
|
int
|
||||||
ostree_repo_file_tree_find_child (OstreeRepoFile *self,
|
ostree_repo_file_tree_find_child (OstreeRepoFile *self,
|
||||||
const char *name,
|
const char *name,
|
||||||
|
|
@ -769,6 +783,16 @@ ostree_repo_file_tree_find_child (OstreeRepoFile *self,
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ostree_repo_file_tree_query_child:
|
||||||
|
* @self: #OstreeRepoFile
|
||||||
|
* @n:
|
||||||
|
* @attributes:
|
||||||
|
* @flags:
|
||||||
|
* @out_info: (out):
|
||||||
|
* @cancellable: Cancellable
|
||||||
|
* @error: Error
|
||||||
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
ostree_repo_file_tree_query_child (OstreeRepoFile *self,
|
ostree_repo_file_tree_query_child (OstreeRepoFile *self,
|
||||||
int n,
|
int n,
|
||||||
|
|
|
||||||
|
|
@ -2048,9 +2048,9 @@ ostree_repo_remote_get_gpg_verify_summary (OstreeRepo *self,
|
||||||
* ostree_repo_remote_gpg_import:
|
* ostree_repo_remote_gpg_import:
|
||||||
* @self: Self
|
* @self: Self
|
||||||
* @name: name of a remote
|
* @name: name of a remote
|
||||||
* @source_stream: (allow-none): a #GInputStream, or %NULL
|
* @source_stream: (nullable): a #GInputStream, or %NULL
|
||||||
* @key_ids: (array zero-terminated=1) (element-type utf8) (allow-none): a %NULL-terminated array of GPG key IDs, or %NULL
|
* @key_ids: (array zero-terminated=1) (element-type utf8) (nullable): a %NULL-terminated array of GPG key IDs, or %NULL
|
||||||
* @out_imported: (allow-none): return location for the number of imported
|
* @out_imported: (out) (optional): return location for the number of imported
|
||||||
* keys, or %NULL
|
* keys, or %NULL
|
||||||
* @cancellable: a #GCancellable
|
* @cancellable: a #GCancellable
|
||||||
* @error: a #GError
|
* @error: a #GError
|
||||||
|
|
@ -2385,6 +2385,12 @@ ostree_repo_mode_to_string (OstreeRepoMode mode,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ostree_repo_mode_from_string:
|
||||||
|
* @mode: a repo mode as a string
|
||||||
|
* @out_mode: (out): the corresponding #OstreeRepoMode
|
||||||
|
* @error: a #GError if the string is not a valid mode
|
||||||
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
ostree_repo_mode_from_string (const char *mode,
|
ostree_repo_mode_from_string (const char *mode,
|
||||||
OstreeRepoMode *out_mode,
|
OstreeRepoMode *out_mode,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue