From f55afb6542b9eb39e56a32dc8a18002ad680ad41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sat, 11 Aug 2012 07:37:40 +0200 Subject: Put subcategories and symbols in different lists. Removes some ugliness from the code. --- liblogdiag/ld-library.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'liblogdiag/ld-library.h') diff --git a/liblogdiag/ld-library.h b/liblogdiag/ld-library.h index 26521ed..dd05efa 100644 --- a/liblogdiag/ld-library.h +++ b/liblogdiag/ld-library.h @@ -2,7 +2,7 @@ * ld-library.h * * This file is a part of logdiag. - * Copyright Přemysl Janouch 2010. All rights reserved. + * Copyright Přemysl Janouch 2010, 2012. All rights reserved. * * See the file LICENSE for licensing information. * @@ -62,9 +62,11 @@ gboolean ld_library_load (LdLibrary *self, const gchar *directory); LdSymbol *ld_library_find_symbol (LdLibrary *self, const gchar *identifier); void ld_library_clear (LdLibrary *self); -void ld_library_insert_child (LdLibrary *self, GObject *child, gint pos); -void ld_library_remove_child (LdLibrary *self, GObject *child); -const GSList *ld_library_get_children (LdLibrary *self); +void ld_library_insert_category (LdLibrary *self, + LdSymbolCategory *category, gint pos); +void ld_library_remove_category (LdLibrary *self, + LdSymbolCategory *category); +const GSList *ld_library_get_categories (LdLibrary *self); G_END_DECLS -- cgit v1.2.3