Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XrmUniqueQu(3x) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XrmUniqueQuark − allocate a new quark. 

Synopsis

XrmQuark XrmUniqueQuark()

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(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026