diff options
author | Matt Caswell <matt@openssl.org> | 2016-10-15 16:23:03 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-11-03 00:32:50 +0100 |
commit | cb6ea61c161e88aa0268c77f308469a67b2ec063 (patch) | |
tree | d7258a4436007e4abaa4374ba2a1a7b0aaf64a0e /crypto/dso/dso_locl.h | |
parent | Add a CHANGES entry for the unrecognised record type change (diff) | |
download | openssl-cb6ea61c161e88aa0268c77f308469a67b2ec063.tar.xz openssl-cb6ea61c161e88aa0268c77f308469a67b2ec063.zip |
Partial revert of 3d8b2ec42 to add back DSO_pathbyaddr
Commit 3d8b2ec42 removed various unused functions. However now we need to
use one of them! This commit resurrects DSO_pathbyaddr(). We're not going to
resurrect the Windows version though because what we need to achieve can be
done a different way on Windows.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/dso/dso_locl.h')
-rw-r--r-- | crypto/dso/dso_locl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/dso/dso_locl.h b/crypto/dso/dso_locl.h index 19767871fa..fbfad0544a 100644 --- a/crypto/dso/dso_locl.h +++ b/crypto/dso/dso_locl.h @@ -99,6 +99,8 @@ struct dso_meth_st { /* [De]Initialisation handlers. */ int (*init) (DSO *dso); int (*finish) (DSO *dso); + /* Return pathname of the module containing location */ + int (*pathbyaddr) (void *addr, char *path, int sz); /* Perform global symbol lookup, i.e. among *all* modules */ void *(*globallookup) (const char *symname); }; |