aboutsummaryrefslogtreecommitdiff
path: root/library.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-05 02:10:10 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:36:35 +0200
commitecb082f480f057dc166c9d62e8776c892caf5e11 (patch)
tree90a78bf9a5a385f1b0fb05e0a3005281244acf19 /library.h
parent807cdd874087db852e3b67f2b9100d3eb1cab366 (diff)
downloadltrace-ecb082f480f057dc166c9d62e8776c892caf5e11.tar.gz
Address hashing and comparison functions need to work with target_address_t
- ... not int, which is narrower than target_address_t on 64-bit machines
Diffstat (limited to 'library.h')
-rw-r--r--library.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/library.h b/library.h
index 42fe5a8..3d3d5f8 100644
--- a/library.h
+++ b/library.h
@@ -41,6 +41,10 @@ enum toplt {
* So keep with it, for now. */
typedef void *target_address_t;
+/* Dict interface. */
+unsigned int target_address_hash(const void *key);
+int target_address_cmp(const void *key1, const void *key2);
+
struct library_symbol {
struct library_symbol *next;
struct library *lib;