summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennes Rohling <hro@openoffice.org>2001-09-03 09:48:13 +0000
committerHennes Rohling <hro@openoffice.org>2001-09-03 09:48:13 +0000
commitd2ab706b76da8f5fe23f8617a365923f5ae8a6d2 (patch)
treea708e870a57829666c303818a622a259d30aa31d
parent32ae92a5d4d6d117274bf8885679a66975ea6311 (diff)
#88338# New function osl_getModuleURLFromAddress()
-rw-r--r--sal/inc/osl/module.h12
-rw-r--r--sal/osl/w32/module.c6
2 files changed, 13 insertions, 5 deletions
diff --git a/sal/inc/osl/module.h b/sal/inc/osl/module.h
index 3db1bdd8547c..365daa998593 100644
--- a/sal/inc/osl/module.h
+++ b/sal/inc/osl/module.h
@@ -2,9 +2,9 @@
*
* $RCSfile: module.h,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: kr $ $Date: 2001-05-14 09:24:20 $
+ * last change: $Author: hro $ $Date: 2001-09-03 10:47:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -122,6 +122,14 @@ void SAL_CALL osl_unloadModule(oslModule Module);
*/
void* SAL_CALL osl_getSymbol(oslModule Module, rtl_uString *strSymbolName);
+/** Lookup URL of module which is mapped at the specified address
+ @param pv specifies an address in the process memory space
+ @param pustrURL receives the URL of the module that is mapped at pv
+ @return sal_True on success, sal_False if no module can be found at the specified address
+*/
+
+sal_Bool SAL_CALL osl_getModuleURLFromAddress( void *pv, rtl_uString **pustrURL );
+
#ifdef __cplusplus
}
#endif
diff --git a/sal/osl/w32/module.c b/sal/osl/w32/module.c
index 784c2c45f19d..7736cc070b46 100644
--- a/sal/osl/w32/module.c
+++ b/sal/osl/w32/module.c
@@ -2,9 +2,9 @@
*
* $RCSfile: module.c,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: hro $ $Date: 2001-09-03 09:19:56 $
+ * last change: $Author: hro $ $Date: 2001-09-03 10:48:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -305,7 +305,7 @@ static sal_Bool SAL_CALL _osl_addressGetModuleURL_NT( void *pv, rtl_uString **pu
/* Dispatcher for osl_osl_addressGetModuleURL */
/*****************************************************************************/
-sal_Bool SAL_CALL osl_addressGetModuleURL( void *pv, rtl_uString **pustrURL )
+sal_Bool SAL_CALL osl_getModuleURLFromAddress( void *pv, rtl_uString **pustrURL )
{
if ( IS_NT )
return _osl_addressGetModuleURL_NT( pv, pustrURL );