XrmPutResource(3X) — X Version 11
NAME
XrmPutResource, XrmQPutResource, XrmPutStringResource, XrmQPutStringResource, XrmPutLineResource − store database resources
SYNTAX
void XrmPutResource(database, specifier, type, value)
XrmDatabase ∗database;
char ∗specifier;
char ∗type;
XrmValue ∗value;
void XrmQPutResource(database, bindings, quarks, type, value)
XrmDatabase ∗database;
XrmBindingList bindings;
XrmQuarkList quarks;
XrmRepresentation type;
XrmValue ∗value;
void XrmPutStringResource(database, resource, value)
XrmDatabase ∗database;
char ∗resource;
char ∗value;
void XrmQPutStringResource(database, bindings, quarks, value)
XrmDatabase ∗database;
XrmBindingList bindings;
XrmQuarkList quarks;
char ∗value;
void XrmPutLineResource(database, line)
XrmDatabase ∗database;
char ∗line;
ARGUMENTS
bindingsSpecifies a list of bindings.
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.
lineSpecifies the resource value pair as a single string. A single colon (“:”) separates the name from the value.
quarksSpecifies the partial name or class list of the resource to be stored.
resourceSpecifies the resource as a string.
specifierSpecifies a partial specification of the resource.
typeSpecifies the type of the resource.
valueSpecifies the value of the resource.
DESCRIPTION
The XrmPutResource and XrmQPutResource functions store a resource specification into the specified database.
XrmPutStringResource adds a resource with the specified value to the specified database.
The XrmQPutStringResource function adds a string resource to the specified database using quarks as the specification.
XrmPutLineResource adds a single resource entry to the specified database.
SEE ALSO
XrmGetResource(3X), XrmInitialize(3X), XrmMergeDatabases(3X), XrmUniqueQuark(3X)
Xlib − C Language X Interface
1 March 1988