summaryrefslogtreecommitdiff
path: root/osinfo/osinfo_treelist.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-12-06 20:15:49 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-12-07 17:50:51 +0100
commitd006a5a8b6fe711a59fa1f47ef2c4544c636581e (patch)
tree57fa861ca4b7208f0b2d47ad8ffc592213abcc50 /osinfo/osinfo_treelist.c
parentf1dc0397bf12ef06f49dfdaa51c08c297e3160c3 (diff)
downloadlibosinfo-d006a5a8b6fe711a59fa1f47ef2c4544c636581e.tar.gz
Deprecate osinfo_*list_new_*
The generic equivalent provided by OsinfoList should be used instead.
Diffstat (limited to 'osinfo/osinfo_treelist.c')
-rw-r--r--osinfo/osinfo_treelist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/osinfo/osinfo_treelist.c b/osinfo/osinfo_treelist.c
index 48ab039..9b1e47e 100644
--- a/osinfo/osinfo_treelist.c
+++ b/osinfo/osinfo_treelist.c
@@ -92,6 +92,7 @@ OsinfoTreeList *osinfo_treelist_new(void)
* from @source
*
* Returns: (transfer full): a copy of the tree list
+ * Deprecated: 0.2.2: Use osinfo_list_new_copy() instead.
*/
OsinfoTreeList *osinfo_treelist_new_copy(OsinfoTreeList *source)
{
@@ -110,6 +111,7 @@ OsinfoTreeList *osinfo_treelist_new_copy(OsinfoTreeList *source)
* from @source that match @filter
*
* Returns: (transfer full): a filtered copy of the tree list
+ * Deprecated: 0.2.2: Use osinfo_list_new_filtered() instead.
*/
OsinfoTreeList *osinfo_treelist_new_filtered(OsinfoTreeList *source,
OsinfoFilter *filter)
@@ -130,6 +132,7 @@ OsinfoTreeList *osinfo_treelist_new_filtered(OsinfoTreeList *source,
* trees that are present in both @sourceOne and @sourceTwo.
*
* Returns: (transfer full): an intersection of the two tree lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_intersection() instead.
*/
OsinfoTreeList *osinfo_treelist_new_intersection(OsinfoTreeList *sourceOne,
OsinfoTreeList *sourceTwo)
@@ -150,6 +153,7 @@ OsinfoTreeList *osinfo_treelist_new_intersection(OsinfoTreeList *sourceOne,
* trees that are present in either @sourceOne and @sourceTwo.
*
* Returns: (transfer full): a union of the two tree lists
+ * Deprecated: 0.2.2: Use osinfo_list_new_union() instead.
*/
OsinfoTreeList *osinfo_treelist_new_union(OsinfoTreeList *sourceOne,
OsinfoTreeList *sourceTwo)