hpux man page for xrmqputstringresource

Query: xrmqputstringresource

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 created, 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 specified database.

  XrmQPutStringResource() is a cross between XrmQPutResource() and XrmPutStringResource().  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
  specifies 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(), 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.

     typedef enum {
	 XrmBindTightly, XrmBindLoosely
     } XrmBinding, *XrmBindingList;
     typedef int XrmQuark, *XrmQuarkList;

See Also
  XrmDestroyDatabase(), XrmGetFileDatabase(), XrmGetResource(), XrmGetStringDatabase(),  XrmInitialize(),  XrmMergeDatabases(),  XrmParseCom-
  mand(),  XrmPutFileDatabase(),  XrmPutLineResource(),  XrmPutResource(),  XrmPutStringResource(),  XrmQGetResource(),  XrmQGetSearchList(),
  XrmQGetSearchResource(), XrmQPutResource(), XrmQuarkToString(), XrmStringToBindingQuarkList(), XrmStringToQuarkList(),  XrmStringToQuark(),
  XrmUniqueQuark().

Xlib - Resource Manager 												   XrmQPutStringResource()
Related Man Pages
xrmputstringresource(3) - debian
xrmputresource(3) - suse
xrmputstringresource(3) - hpux
xrmqputstringresource(3) - hpux
xrmqputresource(3) - hpux
Similar Topics in the Unix Linux Community
Really simple cross-platform database?