AoAddPrivate()

Updated: April 19, 2023

Add a static list of interfaces to a private list of interfaces

Synopsis:

#include <aoi.h>

const AOICtrl_t *AoAddPrivate(AOInterface_t *interfaces);

Arguments:

interfaces
An array of AOInterface_t structures representing the interfaces you want to make available to your application.

Library:

libaoi.so

Description:

This function makes statically defined (i.e., not loaded from a DLL) interfaces available through the AOI library API. It is similar to AoAddStatic(), but the interfaces are added to a private list instead of the global list. When accessed through the returned control handle, this private list of interfaces won't change based on other threads calling AoAddStatic() and AoRemove().

Returns:

A pointer to the control handle (of type AOICtrl_t) for the added interfaces, or NULL if an error occurred.

Classification:

QNX Neutrino