diff options
author | Petr Machata <pmachata@redhat.com> | 2012-04-04 19:00:34 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 01:35:47 +0200 |
commit | 157cc4d6ee93f35e3aa65edcf57f369ae4e4677c (patch) | |
tree | 0a2731974191d469776a138c151cf79905e7e690 /library.h | |
parent | 4de6b6b5ca9f7b3bb930663c43a8bf0f322e2bed (diff) | |
download | ltrace-157cc4d6ee93f35e3aa65edcf57f369ae4e4677c.tar.gz |
Handle symbol aliases
Diffstat (limited to 'library.h')
-rw-r--r-- | library.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. */ |