Context Management Functions

Context management functions handle the allocation, initialization, and destruction of context variables (variables of type OSCTXT). These variables hold all of the working data used during the process of encoding or decoding a message. The context provides thread safe operation by isolating what would otherwise be global variables within this structure. The context variable is passed from function to function as a message is encoded or decoded and maintains state information on the encoding or decoding process.

The main functions in this group that a user should be aware of are the following:

Other functions exist for doing further operations on contexts including copying and setting data within. A full description of all context management functions can be found in the XBinder C/C++ Runtime Reference Manual.