diff options
-rw-r--r-- | sal/inc/osl/module.h | 12 | ||||
-rw-r--r-- | sal/osl/w32/module.c | 6 |
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 ); |