From aa33db342b4fc194cdb4966381ac1e5f44b73465 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Tue, 26 Oct 2010 19:56:17 +0200
Subject: Added ld_library_find_symbol().
This function tries to return a symbol that corresponds
to the given identifier.
---
src/ld-library.h | 9 +++++++++
1 file changed, 9 insertions(+)
(limited to 'src/ld-library.h')
diff --git a/src/ld-library.h b/src/ld-library.h
index eb0673f..d988230 100644
--- a/src/ld-library.h
+++ b/src/ld-library.h
@@ -53,10 +53,19 @@ struct _LdLibraryClass
};
+/**
+ * LD_LIBRARY_IDENTIFIER_SEPARATOR:
+ *
+ * Defines a string that separates categories and symbols in identifiers.
+ */
+#define LD_LIBRARY_IDENTIFIER_SEPARATOR "/"
+
+
GType ld_library_get_type (void) G_GNUC_CONST;
LdLibrary *ld_library_new (void);
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);
--
cgit v1.2.3