X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Fattribute.h;h=498d567c8db6e2d1990820cb08e055d25855692a;hb=c0cb4d12b6441b5964a5017e8c58349bec15e7b8;hp=517b4787a9d00eda435f514449fd8f1602149950;hpb=c47a6dc6fb544baff5b6fe977c992822693208b8;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/attribute.h b/ltt/branches/poly/lttv/lttv/attribute.h index 517b4787..498d567c 100644 --- a/ltt/branches/poly/lttv/lttv/attribute.h +++ b/ltt/branches/poly/lttv/lttv/attribute.h @@ -70,7 +70,7 @@ gboolean lttv_attribute_named(LttvAttribute *self, gboolean *homogeneous); /* Get the i th attribute along with its type and a pointer to its value. */ LttvAttributeType lttv_attribute_get(LttvAttribute *self, unsigned i, - LttvAttributeName *name, LttvAttributeValue *v); + LttvAttributeName *name, LttvAttributeValue *v, gboolean *is_named); /* Get the named attribute in the table along with its type and a pointer to @@ -86,6 +86,8 @@ LttvAttributeType lttv_attribute_get_by_name(LttvAttribute *self, LttvAttributeValue lttv_attribute_add(LttvAttribute *self, LttvAttributeName name, LttvAttributeType t); +LttvAttributeValue lttv_attribute_add_unnamed(LttvAttribute *self, + LttvAttributeName name, LttvAttributeType t); /* Remove an attribute */ @@ -103,6 +105,10 @@ void lttv_attribute_remove_by_name(LttvAttribute *self, LttvAttribute* lttv_attribute_find_subdir(LttvAttribute *self, LttvAttributeName name); +LttvAttribute* lttv_attribute_find_subdir_unnamed(LttvAttribute *self, + LttvAttributeName name); + + gboolean lttv_attribute_find(LttvAttribute *self, LttvAttributeName name, LttvAttributeType t, LttvAttributeValue *v);