Kyoto Tycoon
Public Member Functions
kyototycoon::SharedLibrary Class Reference

Shared library. More...

#include <ktshlib.h>

List of all members.

Public Member Functions

 SharedLibrary ()
 Default constructor.
 ~SharedLibrary ()
 Destructor.
bool open (const char *path)
 Open a shared library.
bool close ()
 Close the shared library.
void * symbol (const char *name)
 Get the pointer to a symbol.

Detailed Description

Shared library.


Constructor & Destructor Documentation

Default constructor.

Destructor.


Member Function Documentation

bool kyototycoon::SharedLibrary::open ( const char *  path)

Open a shared library.

Parameters:
paththe path of the shared library file.
Returns:
true on success, or false on failure.

Close the shared library.

Returns:
true on success, or false on failure.
void* kyototycoon::SharedLibrary::symbol ( const char *  name)

Get the pointer to a symbol.

Parameters:
namethe name of the symbol.
Returns:
the pointer to the symbol, or NULL on failure.