XrmQPutStringResource man page on HP-UX
[printable version]
XrmQPutStringResource() XrmQPutStringResource()
Name
XrmQPutStringResource – add a resource specification to a database
using a quark resource name and string value.
Synopsis
void XrmQPutStringResource(database, bindings, quarks, value)
XrmDatabase *database;
XrmBindingList bindings;
XrmQuarkList quarks;
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. If a database is cre‐
ated, it is created in the current locale.
bindings
Specifies a list of bindings for binding together the quarks
argument.
quarks Specifies the complete or partial name or class list of the
resource to be stored.
value Specifies the value of the resource as a string.
Description
XrmQPutStringResource() stores a resource specification into the speci‐
fied database.
XrmQPutStringResource() is a cross between XrmQPutResource() and Xrm‐
PutStringResource(). Like XrmQPutResource(), it specifies the resource
by quarks and bindings, two lists that together make a name/class list
with loose and tight bindings. Like XrmPutStringResource(), it speci‐
fies the value to be stored as a string, that value is converted into
an XrmValue, and the default representation type String is used. The
value is stored in the database without modification.
XrmPutResource(), XrmQPutResource(), XrmPutStringResource(), XrmQPut‐
StringResource() 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 Prefer‐
ences.
Structures
XrmDatabase is a pointer to an opaque data type.
typedef enum {
XrmBindTightly, XrmBindLoosely
} XrmBinding, *XrmBindingList;
typedef int XrmQuark, *XrmQuarkList;
See Also
XrmDestroyDatabase(), XrmGetFileDatabase(), XrmGetResource(), XrmGet‐
StringDatabase(), XrmInitialize(), XrmMergeDatabases(), XrmParseCom‐
mand(), XrmPutFileDatabase(), XrmPutLineResource(), XrmPutResource(),
XrmPutStringResource(), XrmQGetResource(), XrmQGetSearchList(),
XrmQGetSearchResource(), XrmQPutResource(), XrmQuarkToString(), Xrm‐
StringToBindingQuarkList(), XrmStringToQuarkList(), XrmStringToQuark(),
XrmUniqueQuark().
Xlib - Resource Manager XrmQPutStringResource()
[top]
List of man pages available for HP-UX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|