XrmPutLineResource

Syntax

void XrmPutLineResource(database, line)
     XrmDatabase *database;
     char *line;

Arguments

database Specifies the resource database.
line Specifies the resource name and value pair as a single string.

Description

If database contains NULL, XrmPutLineResource() creates a new database and returns a pointer to it. XrmPutLineResource() adds a single resource entry to the specified database. The line should be in valid ResourceLine format (see section 15.1) terminated by a newline or null character; the database that results from using a string with incorrect syntax is implementation dependent. The string is parsed in the locale of the database. If the ResourceName is not in the Host Portable Character Encoding, the result is implementation dependent. Note that comment lines are not stored.

See also

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