AoAddDirectory()

Updated: April 19, 2023

Add the interfaces in DLLs found in the given directory to the global list of interfaces

Synopsis:

#include <aoi.h>

int32_t AoAddDirectory(const char *path,
                       const char *pattern);

Arguments:

path
The directory that contains the DLLs with interfaces you want to add.
pattern
A filename pattern, such as .so or decoder, that limits the type of files being read as DLLs. Set this argument to NULL to match all files.

Library:

libaoi.so

Description:

This function attempts to add the interfaces in DLLs found in the given directory to the global list of interfaces. You can specify a filename matching pattern to restrict which files are read as DLLs.

Returns:

0 if successful, -1 if an error occurred.

Classification:

QNX Neutrino