XrmCombineDatabase()XrmCombineDatabase()NameXrmCombineDatabase – combine the contents of two resource databases.
Synopsis
void XrmCombineDatabase(source_db, target_db, override)
XrmDatabase source_db;
XrmDatabase *target_db;
Bool override;
Arguments
source_db Specifies the resource database that is to be merged into the
target database.
target_db Specifies the address of the resource database with which the
resource file is to be combined.
override Specifies whether resources from source_db should override
matching resources in target_db.
Availability
Release 5 and later.
DescriptionXrmCombineDatabase() merges the contents of one database into another.
If the same resource specifier is used for an entry in both databases,
the entry in source_db will replace the entry in target_db if override
is True; otherwise, the entry in from source_db is discarded.
If target_db points to a NULL database, XrmCombineDatabase() simply
stores source_db at the location pointed to by target_db. Otherwise,
source_db is destroyed by the merge, and 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.
See AlsoXrmCombineFileDatabase(), XrmMergeDatabases().
Xlib - Resource Manager XrmCombineDatabase()