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, int idx)
typedef void(* rtxEndElement )(const char *name, int 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 )(OSUINT32 numbits, const OSOCTET *data)
typedef void(* rtxOctStrValue )(OSUINT32 numocts, const OSOCTET *data)
typedef void(* rtxCharStrValue )(const char *value)
typedef void(* rtxCharStrValue16Bit )(OSUINT32 nchars, OSUNICHAR *data)
typedef void(* rtxCharStrValue32Bit )(OSUINT32 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 )(OSUINT32 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, int idx)
void rtInvokeEndElement (OSCTXT *pCtxt, const char *name, int 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, OSUINT32 numbits, const OSOCTET *data)
void rtInvokeOctStrValue (OSCTXT *pCtxt, OSUINT32 numocts, const OSOCTET *data)
void rtInvokeCharStrValue (OSCTXT *pCtxt, const char *value)
void rtInvokeCharStr16BitValue (OSCTXT *pCtxt, OSUINT32 nchars, OSUNICHAR *data)
void rtInvokeCharStr32BitValue (OSCTXT *pCtxt, OSUINT32 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, OSUINT32 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.