diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2010-10-26 19:56:17 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2010-10-26 20:01:52 +0200 |
commit | aa33db342b4fc194cdb4966381ac1e5f44b73465 (patch) | |
tree | 797ecd1d3c435caac82c00e0319f71df52362b21 /src/ld-library.h | |
parent | 979308aa7f42073e309737cd18da58731437bf3a (diff) | |
download | logdiag-aa33db342b4fc194cdb4966381ac1e5f44b73465.tar.gz logdiag-aa33db342b4fc194cdb4966381ac1e5f44b73465.tar.xz logdiag-aa33db342b4fc194cdb4966381ac1e5f44b73465.zip |
Added ld_library_find_symbol().
This function tries to return a symbol that corresponds
to the given identifier.
Diffstat (limited to 'src/ld-library.h')
-rw-r--r-- | src/ld-library.h | 9 |
1 files changed, 9 insertions, 0 deletions
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); |