From 8acfeae8c85d402b1fe2357deeeae3cbb3ebb312 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Thu, 30 Aug 2012 07:39:40 +0200 Subject: Make child Categories point back to their parents. --- liblogdiag/ld-category.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'liblogdiag/ld-category.h') diff --git a/liblogdiag/ld-category.h b/liblogdiag/ld-category.h index 6b77596..59d6449 100644 --- a/liblogdiag/ld-category.h +++ b/liblogdiag/ld-category.h @@ -65,6 +65,9 @@ gboolean ld_category_insert_symbol (LdCategory *self, void ld_category_remove_symbol (LdCategory *self, LdSymbol *symbol); const GSList *ld_category_get_symbols (LdCategory *self); +void ld_category_set_parent (LdCategory *self, LdCategory *parent); +LdCategory *ld_category_get_parent (LdCategory *self); + gboolean ld_category_add_child (LdCategory *self, LdCategory *category); void ld_category_remove_child (LdCategory *self, LdCategory *category); const GSList *ld_category_get_children (LdCategory *self); -- cgit v1.2.3-70-g09d2