Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XrmPutFileDatabase − store a resource database in a file. 

Synopsis

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

Arguments

databaseSpecifies the resource database that is to be saved. 

stored_dbSpecifies the filename for the stored database. 

Description

XrmPutFileDatabase() stores a copy of the specified database in the specified file.  The file is a text file that contains lines in the format that is accepted by XrmPutLineResource().  The file is written in the locale of the database.  Entries containing resource names that are not in the Host Portable Character Encoding, or containing values that are not in the encoding of the database locale, are written in an implementation-dependent manner.  The order in which entries are written is implementation-dependent.  Entries with representation types other than "String" are ignored.  For more information, see Volume One, Chapter 11, Managing User Preferences. 

Structures

XrmDatabase is a pointer to an opaque data type. 

See Also

XrmDestroyDatabase(), XrmGetFileDatabase(), XrmGetResource(), XrmGetStringDatabase(), XrmInitialize(), XrmMergeDatabases(), XrmParseCommand(), XrmPutLineResource(), XrmPutResource(), XrmPutStringResource(), XrmQGetResource(), XrmQGetSearchList(), XrmQGetSearchResource(), XrmQPutResource(), XrmQPutStringResource(), XrmQuarkToString(), XrmStringToBindingQuarkList(), XrmStringToQuarkList(), XrmStringToQuark(), XrmUniqueQuark(). 

Copyright O’Reilly & Assoc.  —  

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