AoAdd()

Add the interfaces contained in a DLL to the global list of interfaces

Synopsis:

#include <aoi.h>

const AOICtrl_t *AoAdd(const char *path);

Arguments:

path
The path and filename of the DLL you want to add.

Library:

libaoi.so

Description:

This function loads the DLL at the given path, registers all the interfaces contained in the DLL, and then unloads the DLL. The function returns the AOICtrl_t control for the registered interfaces. You can then access the control's interfaces with AoGetInterface(), or search for a specific set of interfaces with one of the AoFind*() functions.

Returns:

A pointer to the interfaces control of type AOICtrl_t for the added DLL's interfaces.

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

AOICtrl_t, AoRemove(), AoAddStatic(), AoAddDirectory()