TOC PREV NEXT INDEX


rtxContext.h


The rtxContext.h file contains the definition of the runtime context block structure - OSCTXT. This structure is used in practically all runtime function calls. It provides a common work area for the functions to preserve state information needed in the encoding or decoding of messages. The definition is as follows:

typedef struct OSCTXT {					/* run-time context block				*/
 
   OSBuffer     buffer;					/* data buffer 				*/
 
   OSBufSave    savedInfo;					/* saved buffer info			      	*/
 
   OSErrInfo    errInfo;				 	/* run-time error info			    	*/
 
   OSMemHeap*   pMemHeap;					/* memory heap				*/
 
   OSUINT32     initCode;     	/* initialization code			    			 */
 
   OSUINT16     flags;					/* flag bits				*/
 
   OSOCTET      level;					/* nesting level				*/
 
   OSOCTET      state;        	/* encode/decode process state	 */
 
   struct OSRTStream* pStream; /* input/output stream block	 */
 
   OSVoidPtr	pAppInfo;				/* Application specific info		 */
 
} OSCTXT;
 

A brief description of what each of these fields is used for is as follows:

Objective Systems, Inc.

102 Pickering Way, Suite #506
Exton, Pennsylvania 19341
http://www.obj-sys.com
Phone: (484) 875-9841
Toll-free: (877) 307-6855 (US only)
Fax: (484) 875-9830
info@obj-sys.com
TOC PREV NEXT INDEX