- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# /home/coin/SVN-release/Ipopt-3.7.1/Ipopt/src/contrib/LinearSolverLoader/LibraryHandler.h File Reference

`#include "IpoptConfig.h"`

Include dependency graph for LibraryHandler.h:

Go to the source code of this file.

## Defines
#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.

## Define 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:

  | libname | The name of the library to load.
  | msgbuf | A buffer to store an error message.
  | msglen | Length of the message buffer.

Returns:
  Shared library handle, or NULL if failure.

int LSL_unloadLib | ( | soHandle_t | libhandle | ) |

Unloads a shared library.

Parameters:

  | libhandle | Handle of shared library to unload.

Returns:
  Zero on success, nonzero on failure.