XrmGetStringDatabase

Syntax

XrmDatabase XrmGetStringDatabase(data)
     char *data;

Arguments

data Specifies the database contents using a string.

Description

The XrmGetStringDatabase() function creates a new database and stores the resources specified in the specified null-terminated string. XrmGetStringDatabase() is similar to XrmGetFileDatabase() except that it reads the information out of a string instead of out of a file. The string should contain a sequence of entries in valid ResourceLine format (see "Resource File Syntax") terminated by a null character; the database that results from using a string with incorrect syntax is implementation dependent. The string is parsed in the current locale, and the database is created in the current locale.

See also

XrmDestroyDatabase(), XrmGetDatabase(), XrmGetFileDatabase(), XrmGetResource(), XrmInitialize(), XrmLocaleOfDatabase(), XrmPutFileDatabase(), XrmPutResource(), XrmSetDataBase(), "Creating and Storing Databases"
Christophe Tronche, ch@tronche.com