XrmMergeDatabases() XrmMergeDatabases()
Name
XrmMergeDatabases - merge the contents of one database into another.
Synopsis
void XrmMergeDatabases(source_db, target_db)
XrmDatabase source_db, *target_db;
Arguments
source_db Specifies the resource database to be merged into the existing database.
target_db Specifies a pointer to the resource database into which the source_db database will be merged.
Description
XrmMergeDatabases() merges source_db into target_db. This procedure is used to combine databases, for example, an application specific
database of defaults and a database of user preferences. If the same specifier is used for an entry in both databases, the entry in the
source_db will replace the entry in the target_db (that is, it overrides
target_db). If target_db is NULL, XrmMergeDatabases() simply stores source_db in it. Otherwise, source_db is destroyed by the merge, but
the database pointed to by target_db is not destroyed. The database entries are merged without changing values or types, regardless of the
locales of the databases. The locale of the target database is not modified.
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(), XrmGetStringDatabase(), XrmInitialize(), XrmParseCommand(), XrmPutFile-
Database(), XrmPutLineResource(), XrmPutResource(), XrmPutStringResource(), XrmQGetResource(), XrmQGetSearchList(), XrmQGetSearchRe-
source(), XrmQPutResource(), XrmQPutStringResource(), XrmQuarkToString(), XrmStringToBindingQuarkList(), XrmStringToQuarkList(), XrmString-
ToQuark(), XrmUniqueQuark().
Xlib - Resource Manager XrmMergeDatabases()