Table Of Contents

Previous topic

SPluginClass Structure

Next topic

SDso Structure

Dynamic Shared Objects

Provides support for the use of dynamic shared objects (dso). With SDso one can open/close a dso and get symbols from a dso. SDso will close the associated dso when it is deleted with S_DELETE. Implementation specific dynamic linking is abstracted.

Summary

SDsoLoad Load a dynamic shared object from the given path into the given SDso object.
SDsoGetSymbol Get a handle to the named symbol from the given dynamic shared object.

Definition

speect object SDso

Inheritance diagram of SObject.SDso

The SDso structure.

SDso Structure

speect class SDsoClass

Inheritance diagram of SObjectClass.SDsoClass

The SDsoClass structure.

SDsoClass Structure

Functions

void SDsoLoad(SDso *self, const char *path, s_erc *error)

Load a dynamic shared object from the given path into the given SDso object.

Parameters:
  • self –

    The given SDso object.

  • path –

    The full path and name of the dso.

  • error –

    Error code.

void *SDsoGetSymbol(const SDso *self, const char *name, s_erc *error)

Get a handle to the named symbol from the given dynamic shared object.

Parameters:
  • self –

    The dso from which to get the symbol.

  • name –

    The name of the symbol to get.

  • error –

    Error code.

Return:

Handle to the symbol.