X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Finclude%2Flttv%2Fattribute.h;h=93acb13f575af41f6b73219713716f9b1d7009c4;hb=b445142a71748192520cfd645b4963e23070a486;hp=e8cbcb6bc68a9c21d9cdfa918d7327a3faea59a6;hpb=b9f095dbe5986f50ca4665d976735bbb8c639c12;p=lttv.git diff --git a/ltt/branches/poly/include/lttv/attribute.h b/ltt/branches/poly/include/lttv/attribute.h index e8cbcb6b..93acb13f 100644 --- a/ltt/branches/poly/include/lttv/attribute.h +++ b/ltt/branches/poly/include/lttv/attribute.h @@ -78,11 +78,20 @@ void lttv_attribute_remove_by_name(LttvAttribute *self, attribute of that name already exists but is not a GObject supporting the iattribute interface, return NULL. */ -LttvIAttribute* lttv_attribute_create_subdir(LttvAttribute *self, +LttvAttribute* lttv_attribute_find_subdir(LttvAttribute *self, LttvAttributeName name); gboolean lttv_attribute_find(LttvAttribute *self, LttvAttributeName name, LttvAttributeType t, LttvAttributeValue *v); +/* Free recursively a tree of attributes. All contained gobject of type + LttvAttribute are freed (unreferenced) recursively. */ + +void lttv_attribute_recursive_free(LttvAttribute *self); + +/* Add items from a tree of attributes to another tree. */ + +void lttv_attribute_recursive_add(LttvAttribute *dest, LttvAttribute *src); + #endif // ATTRIBUTE_H