XrmGetStringDatabase() XrmGetStringDatabase()
Name
XrmGetStringDatabase - create a database from a string.
Synopsis
XrmDatabase XrmGetStringDatabase(data)
char *data;
Arguments
data Specifies the database contents using a string.
Returns
The created database.
Description
XrmGetStringDatabase() creates a new database and stores in it the resources specified in data. The return value is subsequently used to
refer to the created database. XrmGetStringDatabase() is similar to XrmGetFileDatabase(), except that it reads the information out of a
string instead of a file. Each line in the string is separated by a new line character in the format accepted by XrmPutLineResource().
The string is parsed in the current locale and the database is created in the current locale.
For more information, see Volume One, Chapter 13, Managing User Preferences.
Structures
XrmDatabase is a pointer to an opaque data type.
See Also
XrmDestroyDatabase(), XrmGetFileDatabase(), XrmGetResource(), XrmInitialize(), XrmMergeDatabases(), XrmParseCommand(), XrmPutFile-
Database(), XrmPutLineResource(), XrmPutResource(), XrmPutStringResource(), XrmQGetResource(), XrmQGetSearchList(), XrmQGetSearchRe-
source(), XrmQPutResource(), XrmQPutStringResource(), XrmQuarkToString(), XrmStringToBindingQuarkList(), XrmStringToQuarkList(), XrmString-
ToQuark(), XrmUniqueQuark().
Xlib - Resource Manager XrmGetStringDatabase()