24 #ifndef INCLUDED_OSL_MODULE_H 25 #define INCLUDED_OSL_MODULE_H 37 #define SAL_MODULENAME(name) SAL_DLLPREFIX name SAL_DLLEXTENSION 39 #define SAL_MODULENAME(name) name SAL_DLLEXTENSION 43 #define SAL_MODULENAME_WITH_VERSION(name, version) name version SAL_DLLEXTENSION 45 #elif defined(SAL_UNX) 47 #define SAL_MODULENAME_WITH_VERSION(name, version) SAL_DLLPREFIX name ".dylib." version 49 #define SAL_MODULENAME_WITH_VERSION(name, version) SAL_DLLPREFIX name SAL_DLLEXTENSION "." version 54 #define SAL_LOADMODULE_DEFAULT 0x00000 55 #define SAL_LOADMODULE_LAZY 0x00001 56 #define SAL_LOADMODULE_NOW 0x00002 57 #define SAL_LOADMODULE_GLOBAL 0x00100 68 #ifndef DISABLE_DYNLOADING 143 #ifndef DISABLE_DYNLOADING 177 oslModule Module, rtl_uString *ustrFunctionSymbolName );
206 void *pv, rtl_uString **pustrURL );
228 #endif // INCLUDED_OSL_MODULE_H SAL_DLLPUBLIC sal_Bool osl_getModuleURLFromAddress(void *pv, rtl_uString **pustrURL)
Lookup URL of module which is mapped at the specified address.
SAL_DLLPUBLIC oslModule osl_loadModuleRelative(oslGenericFunction baseModule, rtl_uString *relativePath, sal_Int32 mode)
Load a module located relative to some other module.
SAL_DLLPUBLIC oslGenericFunction osl_getFunctionSymbol(oslModule Module, rtl_uString *ustrFunctionSymbolName)
Lookup the specified function symbol name.
SAL_DLLPUBLIC sal_Bool osl_getModuleURLFromFunctionAddress(oslGenericFunction pf, rtl_uString **pustrFunctionURL)
Lookup URL of module which is mapped at the specified function address.
SAL_DLLPUBLIC oslModule osl_loadModuleAscii(const char *pModuleName, sal_Int32 nRtldMode)
Load a shared library or module.
#define SAL_DLLPUBLIC
Definition: saldllapi.h:34
SAL_DLLPUBLIC oslGenericFunction osl_getAsciiFunctionSymbol(oslModule Module, const char *pSymbol)
Lookup the specified function symbol name.
SAL_DLLPUBLIC oslModule osl_loadModule(rtl_uString *strModuleName, sal_Int32 nRtldMode)
Load a shared library or module.
unsigned char sal_Bool
Definition: types.h:38
void * oslModule
Definition: module.h:59
SAL_DLLPUBLIC oslModule osl_loadModuleRelativeAscii(oslGenericFunction baseModule, char const *relativePath, sal_Int32 mode)
Load a module located relative to some other module.
SAL_DLLPUBLIC sal_Bool osl_getModuleHandle(rtl_uString *pModuleName, oslModule *pResult)
Retrieve the handle of an already loaded module.
SAL_DLLPUBLIC void * osl_getSymbol(oslModule Module, rtl_uString *strSymbolName)
lookup the specified symbol name.
SAL_DLLPUBLIC void osl_unloadModule(oslModule Module)
Release the module.
void(* oslGenericFunction)(void)
Generic Function pointer type that will be used as symbol address.
Definition: module.h:66