Overview | Namespace | Class | Index | Help

## Global Functions in Global Namespace C++
in Sourcefile module.h

osl_getModuleURLFromAddress
  extern "C"
  sal_Bool osl_getModuleURLFromAddress(

    void * | pv,
    rtl_uString * * | pustrURL );

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | NO | YES

  Summary
    Lookup URL of module which is mapped at the specified address
  Parameters

    pv |
        specifies an address in the process memory space
    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

osl_getSymbol
  extern "C"
  void * osl_getSymbol(

    oslModule | Module,
    rtl_uString * | strSymbolName );

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | NO | YES

  Summary
    lookup the specified symbolname.
  Return
    address of the symbol or NULL if lookup failed,

osl_loadModule
  extern "C"
  oslModule osl_loadModule(

    rtl_uString * | strModuleName,
    sal_Int32 | nRtldMode );

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | NO | YES

  Summary
    Load a shared library or module.
  Parameters

    strModuleName |
        denotes the name of the module to be loaded.

  Return
    NULL if the module could not be loaded, otherwise a handle to the module.

osl_unloadModule
  extern "C"
  void osl_unloadModule(

    oslModule | Module );

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | NO | YES

  Summary
    Release the module

Top of Page

Copyright © 2003 Sun Microsystems, Inc.