Macros | Typedefs | Functions
LibraryHandler.h File Reference
#include "IpoptConfig.h"

Go to the source code of this file.

Macros

#define ERROR_LOADLIB

Typedefs

typedef void * soHandle_t

Functions

soHandle_t LSL_loadLib (const char *libname, char *msgbuf, int msglen)
 Loads a dynamically linked library.
int LSL_unloadLib (soHandle_t libhandle)
 Unloads a shared library.

Macro Definition Documentation

#define ERROR_LOADLIB

Definition at line 26 of file LibraryHandler.h.


Typedef Documentation

typedef void* soHandle_t

Definition at line 27 of file LibraryHandler.h.


Function Documentation

soHandle_t LSL_loadLib ( const char *  libname,
char *  msgbuf,
int  msglen 
)

Loads a dynamically linked library.

Parameters:
libnameThe name of the library to load.
msgbufA buffer to store an error message.
msglenLength of the message buffer.
Returns:
Shared library handle, or NULL if failure.
int LSL_unloadLib ( soHandle_t  libhandle)

Unloads a shared library.

Parameters:
libhandleHandle of shared library to unload.
Returns:
Zero on success, nonzero on failure.