ASN1C C/C++ Common Runtime  ASN1C v7.5.x
Classes | Typedefs | Functions
asn1CEvtHndlr.h File Reference
#include <stdio.h>
#include "rtsrc/asn1type.h"

Go to the source code of this file.

Classes

struct  Asn1NamedCEventHandler
 

Typedefs

typedef void(* rtxStartElement) (const char *name, OSSIZE idx)
 
typedef void(* rtxEndElement) (const char *name, OSSIZE idx)
 
typedef void(* rtxBoolValue) (OSBOOL value)
 
typedef void(* rtxIntValue) (OSINT32 value)
 
typedef void(* rtxUIntValue) (OSUINT32 value)
 
typedef void(* rtxInt64Value) (OSINT64 value)
 
typedef void(* rtxUInt64Value) (OSUINT64 value)
 
typedef void(* rtxBitStrValue) (OSSIZE numbits, const OSOCTET *data)
 
typedef void(* rtxOctStrValue) (OSSIZE numocts, const OSOCTET *data)
 
typedef void(* rtxCharStrValue) (const char *value)
 
typedef void(* rtxCharStrValue16Bit) (OSSIZE nchars, OSUNICHAR *data)
 
typedef void(* rtxCharStrValue32Bit) (OSSIZE nchars, OS32BITCHAR *data)
 
typedef void(* rtxNullValue) (void)
 
typedef void(* rtxOidValue) (OSUINT32 numSubIds, OSUINT32 *pSubIds)
 
typedef void(* rtxRealValue) (double value)
 
typedef void(* rtxEnumValue) (OSUINT32 value, const OSUTF8CHAR *text)
 
typedef void(* rtxOpenTypeValue) (OSSIZE numocts, const OSOCTET *data)
 
typedef int(* rtErrorHandler) (OSCTXT *pctxt, ASN1CCB *pCCB, int stat)
 
typedef struct Asn1NamedCEventHandler Asn1NamedCEventHandler
 

Functions

void rtAddEventHandler (OSCTXT *pCtxt, Asn1NamedCEventHandler *pHandler)
 
void rtRemoveEventHandler (OSCTXT *pCtxt, Asn1NamedCEventHandler *pHandler)
 
void rtSetErrorHandler (OSCTXT *pctxt, rtErrorHandler pErrCB)
 
void rtRemoveErrorHandler (OSCTXT *pctxt)
 
int rtInvokeErrorHandler (OSCTXT *pctxt, ASN1CCB *pCCB, int stat)
 
void rtInvokeStartElement (OSCTXT *pCtxt, const char *name, OSSIZE idx)
 
void rtInvokeEndElement (OSCTXT *pCtxt, const char *name, OSSIZE idx)
 
void rtInvokeBoolValue (OSCTXT *pCtxt, OSBOOL value)
 
void rtInvokeIntValue (OSCTXT *pCtxt, OSINT32 value)
 
void rtInvokeUIntValue (OSCTXT *pCtxt, OSUINT32 value)
 
void rtInvokeInt64Value (OSCTXT *pCtxt, OSINT64 value)
 
void rtInvokeUInt64Value (OSCTXT *pCtxt, OSUINT64 value)
 
void rtInvokeBitStrValue (OSCTXT *pCtxt, OSSIZE numbits, const OSOCTET *data)
 
void rtInvokeOctStrValue (OSCTXT *pCtxt, OSSIZE numocts, const OSOCTET *data)
 
void rtInvokeCharStrValue (OSCTXT *pCtxt, const char *value)
 
void rtInvokeCharStr16BitValue (OSCTXT *pCtxt, OSSIZE nchars, OSUNICHAR *data)
 
void rtInvokeCharStr32BitValue (OSCTXT *pCtxt, OSSIZE nchars, OS32BITCHAR *data)
 
void rtInvokeNullValue (OSCTXT *pCtxt)
 
void rtInvokeOidValue (OSCTXT *pCtxt, OSUINT32 numSubIds, OSUINT32 *pSubIds)
 
void rtInvokeRealValue (OSCTXT *pCtxt, double value)
 
void rtInvokeEnumValue (OSCTXT *pCtxt, OSUINT32 value, const OSUTF8CHAR *text)
 
void rtInvokeOpenTypeValue (OSCTXT *pCtxt, OSSIZE numocts, const OSOCTET *data)
 

Detailed Description

C event handler structure. The ASN1CEventHandler type is a structured type that can be used to define event handlers by the user.