Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XrmPutStringResource − add a resource specification with separate resource name and value. 

Synopsis

void XrmPutStringResource(database, specifier, value)
     XrmDatabase *database;
     char *specifier;
     char *value;

Arguments

databaseSpecifies a pointer to the resource database.  If database contains NULL, a new resource database is created and a pointer to it is returned in database. 

specifierSpecifies the resource, as a string. 

valueSpecifies the value of the resource, as a string. 

Description

XrmPutStringResource() adds a resource specification with the specified resource and value to the specified database.  The specifier string may contain both names and classes, bound with either loose (*) or tight (.) bindings.  See the description of XrmGetResource() for more information about bindings.  The representation type used in the database is String.  If the specifier is not in the Host Portable Character Encoding, the result is implementation-dependent.  The value is stored in the database without modification.  XrmPutResource(), XrmQPutResource(), XrmPutStringResource(), XrmQPutStringResource() and XrmPutLineResource() all store data into a database.  See XrmQPutResource() for the most complete description of this process.  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(), XrmPutFileDatabase(), XrmPutLineResource(), XrmPutResource(), XrmQGetResource(), XrmQGetSearchList(), XrmQGetSearchResource(), XrmQPutResource(), XrmQPutStringResource(), XrmQuarkToString(), XrmStringToBindingQuarkList(), XrmStringToQuarkList(), XrmStringToQuark(), XrmUniqueQuark(). 

Copyright O’Reilly & Assoc.  —  

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