AlOpenDBase()

Load a language or message database

Synopsis:

#include <photon/Al.h>

AlDataBase_t *AlOpenDBase( const char *path );

Arguments:

path
The pathname of the database that you want to open.

Library:

phexlib

Description:

AlOpenDBase() loads into memory the PhAB language database or message database stored in the file named by path.


Note: This function doesn't search for the file in any special directories or use any environment variables — the path is given directly to open().

Returns:

A pointer to a AlDataBase_t structure that describes the database, which you'll need to pass to functions that work with the database, or NULL if an error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

AlClearTranslation(), AlCloseDBase(), AlGetEntry(), AlGetSize(), AlReadTranslation(), AlSaveTranslation(), AlSetEntry(), ApCloseMessageDB(), ApGetMessage(), ApLoadMessageDB()

International Language Support chapter of the Photon Programmer's Guide