AlSetEntry()

Set the translated string for a database entry

Synopsis:

#include <photon/Al.h>

int AlSetEntry( AlDataBase_t *db,
                unsigned n,
                const char *string );

Arguments:

db
A pointer to a AlDataBase_t structure for the database, returned by AlOpenDBase().
n
The number of the entry in the database to set.
string
The string to save in the entry.

Library:

phexlib

Description:

This function sets the str_translated field in the nth entry of the language or message database specified by db. For information about the members of the entry, see AlGetEntry().

Returns:

0
Success.
-1
An error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

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

International Language Support chapter of the Photon Programmer's Guide