aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/dso/dso_locl.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-10-15 15:23:03 +0100
committerMatt Caswell <matt@openssl.org>2016-11-02 23:32:50 +0000
commitcb6ea61c161e88aa0268c77f308469a67b2ec063 (patch)
treed7258a4436007e4abaa4374ba2a1a7b0aaf64a0e /crypto/dso/dso_locl.h
parentce95f3b724f71f42dd57af4a0a8e2f571deaf94d (diff)
downloadopenssl-cb6ea61c161e88aa0268c77f308469a67b2ec063.tar.gz
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.h2
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);
};