aboutsummaryrefslogtreecommitdiff
path: root/library.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-04 19:00:34 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:35:47 +0200
commit157cc4d6ee93f35e3aa65edcf57f369ae4e4677c (patch)
tree0a2731974191d469776a138c151cf79905e7e690 /library.h
parent4de6b6b5ca9f7b3bb930663c43a8bf0f322e2bed (diff)
downloadltrace-157cc4d6ee93f35e3aa65edcf57f369ae4e4677c.tar.gz
Handle symbol aliases
Diffstat (limited to 'library.h')
-rw-r--r--library.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/library.h b/library.h
index 60a4818..42fe5a8 100644
--- a/library.h
+++ b/library.h
@@ -74,6 +74,11 @@ void library_symbol_destroy(struct library_symbol *sym);
* those are equal, too, the symbols are considered equal. */
int library_symbol_cmp(struct library_symbol *a, struct library_symbol *b);
+/* Set a name for library symbol. This frees the old name, if
+ * that is owned. */
+void library_symbol_set_name(struct library_symbol *libsym,
+ const char *name, int own_name);
+
/* A function that can be used as library_each_symbol callback. Looks
* for a symbol SYM for which library_symbol_cmp(SYM, STANDARD)
* returns 0. */