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


database Specifies the resource database.
specifier Specifies a complete or partial specification of the resource.
value Specifies the value of the resource, which is specified as a string.


If database contains NULL, XrmPutStringResource() creates a new database and returns a pointer to it. XrmPutStringResource() adds a resource with the specified value to the specified database. XrmPutStringResource() is a convenience function that first calls XrmStringToBindingQuarkList() on the specifier and then calls XrmQPutResource(), using a ``String'' representation type. 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.

See also

XrmGetResource(), XrmInitialize(), XrmMergeDatabases(), XrmPutLineResource(), XrmPutResource(), XrmQPutResource(), XrmQPutStringResource(), XrmUniqueQuark(), "Storing Into a Resource Database".
Christophe Tronche, [email protected]