Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XrmCombineD(3x) — HP-UX ANSI C A.09.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XrmCombineDatabase − 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_dbSpecifies the resource database that is to be merged into the target database. 

target_dbSpecifies the address of the resource database with which the resource file is to be combined. 

overrideSpecifies whether resources from source_db should override matching resources in target_db. 

Availability

Release 5 and later. 

Description

XrmCombineDatabase() 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 Also

XrmCombineFileDatabase(), XrmMergeDatabases(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026