The C Interface

Struct Asn1CRawEventHandler contains a function pointer for a handler for each of the events:

typedef struct Asn1CRawEventHandler {
   rtxComponent component;
   rtxEndComponent endComponent; /** may be null */
   rtxActualType actualType; /** may be null */
} Asn1CRawEventHandler;            
         

The event handler functions have the following signatures:

typedef ASN1RawEventResp(*rtxComponent) (OSCTXT* pctxt, OSSIZE componentID,
                                         OSBOOL nestedValues);

typedef void(*rtxEndComponent) (OSCTXT* pctxt, OSSIZE componentID);

typedef ASN1RawEventResp(*rtxActualType) (OSCTXT* pctxt, OSSIZE actualTypeID,
                                          OSSIZE len);