XrmPutStringResource() XrmPutStringResource()
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
database Specifies 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.
specifier Specifies the resource, as a string.
value Specifies 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 data-
base. See XrmQPutResource() for the most complete description of this process.
For more information, see Volume One, Chapter 13, Managing User Preferences.
Structures
XrmDatabase is a pointer to an opaque data type.
See Also
XrmDestroyDatabase(), XrmGetFileDatabase(), XrmGetResource(), XrmGetStringDatabase(), XrmInitialize(), XrmMergeDatabases(), XrmParseCom-
mand(), XrmPutFileDatabase(), XrmPutLineResource(), XrmPutResource(), XrmQGetResource(), XrmQGetSearchList(), XrmQGetSearchResource(),
XrmQPutResource(), XrmQPutStringResource(), XrmQuarkToString(), XrmStringToBindingQuarkList(), XrmStringToQuarkList(), XrmStringToQuark(),
XrmUniqueQuark().
Xlib - Resource Manager XrmPutStringResource()