Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XMDBases(3X) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XrmGetResource(3X)

XrmInitialize(3X)

XrmPutResource(3X)

XrmUniqueQuark(3X)

XrmMergeDatabases(3X)  —  X Version 11

NAME

XrmMergeDatabases, XrmGetFileDatabase, XrmPutFileDatabase, XrmGetStringDatabase − manipulate resource databases

SYNTAX

void XrmMergeDatabases(source_db, target_db)
      XrmDatabase source_db, ∗target_db;

XrmDatabase XrmGetFileDatabase(filename)
     char ∗filename;

void XrmPutFileDatabase(database, stored_db)
     XrmDatabase database;
     char ∗stored_db;

XrmDatabase XrmGetStringDatabase(data)
     char ∗data;

ARGUMENTS

dataSpecifies the database contents using a string. 

databaseSpecifies the database that is to be used. 

filenameSpecifies the resource database file name. 

source_dbSpecifies the resource database that is to be merged into the target database. 

stored_dbSpecifies the file name for the stored database. 

target_dbSpecifies a pointer to the resource database into which the source database is to be merged. 

DESCRIPTION

The XrmMergeDatabases function merges the contents of one database into another.

The XrmGetFileDatabase function opens the specified file, creates a new resource database, and loads it with the specifications read in from the specified file.

The XrmPutFileDatabase function stores a copy of the application’s current database in the specified file.

The XrmGetStringDatabase function creates a new database and stores the resources specified in the specified null-terminated string.

SEE ALSO

XrmGetResource(3X), XrmInitialize(3X), XrmPutResource(3X), XrmUniqueQuark(3X)
Xlib − C Language X Interface

1 March 1988

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