NAME
XrmUniqueQuark — allocate a new quark.
SYNOPSIS
XrmQuark XrmUniqueQuark()
RETURNS
The quark.
DESCRIPTION
XrmUniqueQuark() allocates a quark that is guaranteed not to represent any existing string. For most applications, XrmStringToQuark() is more useful, as it binds a quark to a string. However, on some occasions, you may want to allocate a quark that has no string equivalent.
The shorthand name for a string is called a quark and is the type XrmQuark. Quarks are used to improve performance of the resource manager, which must make many string comparisons. Quarks are presently represented as integers. Simple comparisons of quarks can be performed rather than lengthy string comparisons.
A quark is to a string what an atom is to a property name in the server, but its use is entirely local to your application.
For more information, see Volume One, Chapter 11, Managing User Preferences.
STRUCTURES
typedef int XrmQuark;
SEE ALSO
XrmDestroyDatabase(), XrmGetFileDatabase(), XrmGetResource(), XrmGetStringDatabase(), XrmInitialize(), XrmMergeDatabases(), XrmParseCommand(), XrmPutFileDatabase(), XrmPutLineResource(), XrmPutResource(), XrmPutStringResource(), XrmQGetResource(), XrmQGetSearchList(), XrmQGetSearchResource(), XrmQPutResource(), XrmQPutStringResource(), XrmQuarkToString(), XrmStringToBindingQuarkList(), XrmStringToQuarkList(), XrmStringToQuark().
Xlib Reference Manual